Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 106.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 469.8 MB / 0.7491 GB, free: 2.977 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 71.88 kB / 1.073 GB, free: 44 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9806/0.9826, allocations: 159.1 MB / 1.229 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002109/0.9848, allocations: 0.8757 MB / 1.23 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.9865, allocations: 1.182 MB / 1.231 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.9865, allocations: 0 / 1.231 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.9866, allocations: 7.875 kB / 1.231 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.9867, allocations: 23.78 kB / 1.231 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.9873, allocations: 145.3 kB / 1.231 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.9876, allocations: 179.6 kB / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.9877, allocations: 37.09 kB / 1.231 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.9878, allocations: 67.81 kB / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.988, allocations: 63.73 kB / 1.231 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.988, allocations: 16 kB / 1.231 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.9881, allocations: 27.98 kB / 1.231 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.9881, allocations: 39.84 kB / 1.231 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.9882, allocations: 59.72 kB / 1.231 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.9885, allocations: 173.2 kB / 1.232 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9885, allocations: 0 / 1.232 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9885, allocations: 3.938 kB / 1.232 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.9885, allocations: 0 / 1.232 GB, free: 1.883 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007436/0.9893, allocations: 456.6 kB / 1.232 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9893, allocations: 12.03 kB / 1.232 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.9894, allocations: 46.73 kB / 1.232 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.9894, allocations: 20.84 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.99, allocations: 244.3 kB / 1.232 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.99, allocations: 16.31 kB / 1.232 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.9901, allocations: 8.375 kB / 1.232 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.9903, allocations: 91.36 kB / 1.232 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9904, allocations: 8 kB / 1.232 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.9904, allocations: 4 kB / 1.232 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9904, allocations: 0 / 1.232 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.9906, allocations: 43.95 kB / 1.232 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.9913, allocations: 392.5 kB / 1.233 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.9915, allocations: 38.56 kB / 1.233 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.9916, allocations: 28.95 kB / 1.233 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.9916, allocations: 0 / 1.233 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.9919, allocations: 99.25 kB / 1.233 GB, free: 228 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.9919, allocations: 0 / 1.233 GB, free: 228 kB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000432/0.9924, allocations: 133.5 kB / 1.233 GB, free: 88 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.9924, allocations: 59.34 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.9926, allocations: 144.1 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.9926, allocations: 29.7 kB / 1.233 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.9927, allocations: 112.5 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.9927, allocations: 36.67 kB / 1.233 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.9928, allocations: 49.7 kB / 1.234 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.993, allocations: 322.8 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.9932, allocations: 55.89 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.9934, allocations: 132.6 kB / 1.234 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.9937, allocations: 196.7 kB / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9937, allocations: 0 / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005081/0.9943, allocations: 242.9 kB / 1.234 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.9943, allocations: 42.06 kB / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9943, allocations: 8 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9944, allocations: 7.938 kB / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.9945, allocations: 31.86 kB / 1.235 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.9945, allocations: 4 kB / 1.235 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.9947, allocations: 35.91 kB / 1.235 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.9948, allocations: 12 kB / 1.235 GB, free: 14.45 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.9949, allocations: 141.7 kB / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.9949, allocations: 7.953 kB / 1.235 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.995, allocations: 12.72 kB / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.995, allocations: 3.938 kB / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.995, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.995, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.9956, allocations: 394.5 kB / 1.235 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9956, allocations: 0 / 1.235 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.9957, allocations: 23.97 kB / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9957, allocations: 3.984 kB / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.9957, allocations: 0 / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9957, allocations: 0 / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9958, allocations: 4 kB / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.9962, allocations: 248.9 kB / 1.235 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.9963, allocations: 89 kB / 1.235 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.9963, allocations: 0 / 1.235 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.9964, allocations: 12.22 kB / 1.235 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.9965, allocations: 11.92 kB / 1.235 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.9965, allocations: 7.938 kB / 1.235 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.287e-05/0.9966, allocations: 105 kB / 1.236 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9966, allocations: 0 / 1.236 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002954/0.9969, allocations: 39.88 kB / 1.236 GB, free: 13.26 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008257/0.9977, allocations: 0.7893 MB / 1.236 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.9981, allocations: 183.3 kB / 1.237 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.9981, allocations: 4 kB / 1.237 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.9983, allocations: 35.91 kB / 1.237 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.9986, allocations: 19.98 kB / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.001, allocations: 1.961 MB / 1.239 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.001, allocations: 0.7123 MB / 1.239 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.254e-05/1.001, allocations: 12.66 kB / 1.239 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/1.002, allocations: 39.42 kB / 1.239 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/1.002, allocations: 0 / 1.239 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/1.03, allocations: 3.181 MB / 1.242 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/9.061, allocations: 5.438 kB / 1.242 GB, free: 6.234 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.076808304991573]