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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002383/0.002383, allocations: 161.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.679/1.679, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.007/3.007, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.19e-06, allocations: 0 / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.278e-05/6.797e-05, allocations: 6.219 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003777/0.003845, allocations: 0.8487 MB / 1.001 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.0067, allocations: 1.197 MB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.006836, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.006904, allocations: 15.8 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.007058, allocations: 15.86 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.007839, allocations: 159.2 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.008183, allocations: 163.7 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.008386, allocations: 33.28 kB / 1.003 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.008619, allocations: 87.86 kB / 1.003 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.008767, allocations: 55.84 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.008814, allocations: 16 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.008907, allocations: 23.98 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.00895, allocations: 27.91 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.009041, allocations: 51.89 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009379, allocations: 191.4 kB / 1.003 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.009385, allocations: 0 / 1.003 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.293e-06/0.009386, allocations: 0 / 1.003 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.009397, allocations: 4 kB / 1.003 GB, free: 4.32 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.001018/0.01042, allocations: 418 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.01047, allocations: 8.031 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.01055, allocations: 16.89 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.01121, allocations: 189.7 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.01124, allocations: 8.375 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.01129, allocations: 12.38 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.01159, allocations: 98.14 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.0116, allocations: 192 / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.01163, allocations: 8.359 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.01164, allocations: 8.125 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.01184, allocations: 39.95 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.01278, allocations: 312.2 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.01295, allocations: 42.55 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.01305, allocations: 20.97 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.01308, allocations: 7.938 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.01344, allocations: 103.2 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.01344, allocations: 0 / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0005566/0.014, allocations: 133.5 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.01405, allocations: 51.41 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01423, allocations: 147.2 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.01428, allocations: 33.69 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01438, allocations: 108.1 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.01442, allocations: 31.78 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.01451, allocations: 49.69 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01469, allocations: 326.8 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.0149, allocations: 73.67 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.01526, allocations: 171 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.01565, allocations: 200.6 kB / 1.006 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.01566, allocations: 4 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006018/0.01626, allocations: 276.9 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.01632, allocations: 37.7 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01632, allocations: 0 / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.01635, allocations: 4 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01647, allocations: 23.98 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.01649, allocations: 11.92 kB / 1.006 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.01674, allocations: 35.86 kB / 1.006 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.01685, allocations: 20.05 kB / 1.006 GB, free: 1.047 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.000155/0.017, allocations: 136.9 kB / 1.006 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01703, allocations: 7.953 kB / 1.006 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.01708, allocations: 16.81 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01708, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01709, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.0171, allocations: 7.984 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.01777, allocations: 342.3 kB / 1.006 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01778, allocations: 4.094 kB / 1.006 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.01788, allocations: 15.92 kB / 1.006 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.01788, allocations: 4 kB / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.0179, allocations: 0 / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0179, allocations: 0 / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0179, allocations: 0 / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.01846, allocations: 247.2 kB / 1.007 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.01848, allocations: 11.91 kB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01851, allocations: 8 kB / 1.007 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01861, allocations: 12.03 kB / 1.007 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.01866, allocations: 3.984 kB / 1.007 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01868, allocations: 7.938 kB / 1.007 GB, free: 188 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.01877, allocations: 110.2 kB / 1.007 GB, free: 80 kB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01877, allocations: 3.938 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003235/0.0191, allocations: 28 kB / 1.007 GB, free: 48 kB / 0.9512 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.0002365/0.01933, allocations: 111.2 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.01982, allocations: 192.9 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.01982, allocations: 4 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01996, allocations: 35.91 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.0203, allocations: 20.73 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.02105, allocations: 242.1 kB / 1.007 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.02117, allocations: 101.7 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.234e-05/0.02125, allocations: 12.64 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.02129, allocations: 16.5 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of SimCode: time 6.02e-07/0.02129, allocations: 0 / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.006715/0.02801, allocations: 1.741 MB / 1.009 GB, free: 13.54 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.721907831728458]