Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 112.9 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 185.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.653/2.653, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001652, allocations: 63.91 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9162, allocations: 159.9 MB / 1.226 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002237/0.9185, allocations: 0.8678 MB / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.9203, allocations: 1.178 MB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.9204, allocations: 4 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.9205, allocations: 11.86 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.9206, allocations: 15.75 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.9212, allocations: 161.4 kB / 1.229 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.9215, allocations: 167.6 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.9216, allocations: 48.88 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.9217, allocations: 63.84 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.9219, allocations: 67.78 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.9219, allocations: 19.94 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.922, allocations: 27.98 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.9221, allocations: 19.92 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.9222, allocations: 71.77 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.9224, allocations: 168.3 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9224, allocations: 0 / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9224, allocations: 0 / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9224, allocations: 0 / 1.229 GB, free: 10.75 MB / 0.9512 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.0007481/0.9232, allocations: 460.6 kB / 1.23 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9232, allocations: 15.97 kB / 1.23 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.9233, allocations: 16.84 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.9239, allocations: 258.4 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.9239, allocations: 12.38 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.924, allocations: 12.38 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.9243, allocations: 91.38 kB / 1.23 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.9243, allocations: 3.938 kB / 1.23 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9243, allocations: 4 kB / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9243, allocations: 4 kB / 1.23 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.9245, allocations: 47.95 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.9254, allocations: 388.5 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.9255, allocations: 30.56 kB / 1.231 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.9256, allocations: 28.97 kB / 1.231 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.9256, allocations: 3.984 kB / 1.231 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.9259, allocations: 103.2 kB / 1.231 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.926, allocations: 0 / 1.231 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004422/0.9264, allocations: 133.5 kB / 1.231 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9265, allocations: 63.33 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.9266, allocations: 141.8 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.9266, allocations: 33.7 kB / 1.231 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.9267, allocations: 108.1 kB / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.9268, allocations: 23.81 kB / 1.231 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.9269, allocations: 49.69 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.927, allocations: 326.8 kB / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.9272, allocations: 51.95 kB / 1.232 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.9274, allocations: 133.2 kB / 1.232 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.9277, allocations: 196.7 kB / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.9277, allocations: 0 / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005097/0.9282, allocations: 247.3 kB / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.9283, allocations: 38.94 kB / 1.232 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.9283, allocations: 4 kB / 1.232 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9283, allocations: 4.375 kB / 1.232 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9285, allocations: 35.86 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9285, allocations: 7.938 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.9287, allocations: 43.84 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.9287, allocations: 8.047 kB / 1.232 GB, free: 7.355 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.0001164/0.9289, allocations: 138.2 kB / 1.232 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.9289, allocations: 11.94 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.9289, allocations: 16.72 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9289, allocations: 0 / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9289, allocations: 0 / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.929, allocations: 85 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.929, allocations: 8 kB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.9291, allocations: 7.984 kB / 1.232 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.9291, allocations: 15.98 kB / 1.232 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003863/0.9295, allocations: 204.8 kB / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004613/0.93, allocations: 326.6 kB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001131/0.9301, allocations: 40.02 kB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.9302, allocations: 109.3 kB / 1.233 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of Backend: time 6.82e-07/0.9302, allocations: 0 / 1.233 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.9309, allocations: 237.6 kB / 1.233 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007975/0.9317, allocations: 0.7253 MB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.004834/0.9366, allocations: 1.758 MB / 1.236 GB, free: 3.594 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches