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.001791/0.001791, allocations: 110 kB / 18.93 MB, free: 2.945 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.002157/0.002157, allocations: 192.1 kB / 22.23 MB, free: 5.16 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.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7646 GB, free: 9.898 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 55.91 kB / 1.11 GB, free: 6.27 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9923/0.9944, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002397/0.9968, allocations: 0.8795 MB / 1.275 GB, free: 3.309 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.00174/0.9985, allocations: 1.187 MB / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.9986, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.9987, allocations: 7.875 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.9988, allocations: 31.78 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.9994, allocations: 146.9 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002667/0.9997, allocations: 163.7 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.9998, allocations: 29.28 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.9999, allocations: 63.84 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/1, allocations: 75.72 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.46e-05/1, allocations: 12 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/1, allocations: 35.92 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 4.062e-05/1, allocations: 27.92 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 9.47e-05/1, allocations: 63.7 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002708/1.001, allocations: 169.7 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.001, allocations: 0 / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.094e-06/1.001, allocations: 0 / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.246e-05/1.001, allocations: 7.984 kB / 1.277 GB, free: 1.301 MB / 0.9669 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.000813/1.001, allocations: 414 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.001, allocations: 12.03 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/1.002, allocations: 16.84 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/1.002, allocations: 186.5 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.002, allocations: 8.375 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/1.002, allocations: 16.33 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/1.002, allocations: 90.14 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.002, allocations: 3.938 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/1.002, allocations: 16 kB / 1.278 GB, free: 488 kB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.002, allocations: 0 / 1.278 GB, free: 488 kB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/1.003, allocations: 51.89 kB / 1.278 GB, free: 436 kB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/1.003, allocations: 351.6 kB / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/1.004, allocations: 34.56 kB / 1.278 GB, free: 16 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/1.004, allocations: 32.91 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.004, allocations: 3.984 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/1.004, allocations: 95.31 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=10): time 1.373e-06/1.004, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=10): time 0.000433/1.004, allocations: 133.5 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.004, allocations: 55.34 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.005, allocations: 152.1 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.423e-05/1.005, allocations: 33.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/1.005, allocations: 104.1 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/1.005, allocations: 31.73 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/1.005, allocations: 49.69 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001423/1.005, allocations: 322.8 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.005, allocations: 55.89 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/1.005, allocations: 129.2 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.006, allocations: 204.6 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.006, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005046/1.006, allocations: 247 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/1.006, allocations: 37.69 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.006, allocations: 7.938 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.006, allocations: 4.422 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.006, allocations: 31.91 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.006, allocations: 8.312 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.007, allocations: 43.91 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/1.007, allocations: 8 kB / 1.28 GB, free: 14.07 MB / 0.9825 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.0001261/1.007, allocations: 131.9 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1.007, allocations: 19.88 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/1.007, allocations: 12.72 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.007, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.007, allocations: 7.938 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.007, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/1.007, allocations: 361.5 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.007, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/1.008, allocations: 19.92 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.008, allocations: 11.94 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.008, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.008, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.008, allocations: 3.984 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/1.008, allocations: 244.2 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/1.008, allocations: 15.89 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.008, allocations: 4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/1.008, allocations: 8.031 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/1.008, allocations: 7.984 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.008, allocations: 8 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 8.831e-05/1.008, allocations: 105.3 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.008, allocations: 0 / 1.281 GB, free: 13.06 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002995/1.009, allocations: 35.88 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0002403/1.009, allocations: 110.1 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004301/1.009, allocations: 167.1 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.009, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001265/1.009, allocations: 40.83 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/1.01, allocations: 19.98 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/1.01, allocations: 268.8 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/1.011, allocations: 0.7045 MB / 1.282 GB, free: 11.66 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.146e-05/1.011, allocations: 20.58 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/1.011, allocations: 15.44 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.61e-07/1.011, allocations: 0 / 1.282 GB, free: 11.62 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006941/1.018, allocations: 1.703 MB / 1.284 GB, free: 9.934 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300]
(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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400]
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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.640379973687232]