Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001529/0.001529, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001521/0.001521, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.137/3.137, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] 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.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002458/1.11, allocations: 1.084 MB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002538/1.112, allocations: 1.611 MB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/1.112, allocations: 3.219 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/1.113, allocations: 19.47 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/1.113, allocations: 40 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/1.113, allocations: 234.1 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004377/1.114, allocations: 347.2 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/1.114, allocations: 82.06 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/1.114, allocations: 133.4 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/1.114, allocations: 124.4 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/1.114, allocations: 34.03 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/1.115, allocations: 51.89 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/1.115, allocations: 58.75 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/1.115, allocations: 133.8 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005686/1.115, allocations: 374.4 kB / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.115, allocations: 0 / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.115, allocations: 0 / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.115, allocations: 4.656 kB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009312/1.116, allocations: 0.55 MB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.116, allocations: 9.969 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/1.116, allocations: 28.17 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/1.117, allocations: 276 kB / 1.268 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/1.117, allocations: 29.05 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/1.117, allocations: 23.28 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/1.117, allocations: 189.1 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.117, allocations: 0.8438 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/1.118, allocations: 10.44 kB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.118, allocations: 8.172 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/1.118, allocations: 149.9 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/1.119, allocations: 0.6478 MB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/1.12, allocations: 205.3 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/1.12, allocations: 96.44 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/1.12, allocations: 1.562 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/1.12, allocations: 214.8 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/1.12, allocations: 0 / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.0008247/1.121, allocations: 345.6 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.121, allocations: 59.7 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/1.121, allocations: 182 kB / 1.27 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/1.121, allocations: 40.3 kB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/1.121, allocations: 123.9 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/1.121, allocations: 67.69 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.122, allocations: 73.88 kB / 1.27 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/1.122, allocations: 333.6 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/1.122, allocations: 96.41 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.122, allocations: 144.3 kB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/1.122, allocations: 213.3 kB / 1.271 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.122, allocations: 8.625 kB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005745/1.123, allocations: 334.9 kB / 1.271 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/1.123, allocations: 41.97 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.123, allocations: 0.7188 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.123, allocations: 2.438 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.123, allocations: 25.94 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.123, allocations: 2.156 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/1.124, allocations: 54.17 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/1.124, allocations: 16.61 kB / 1.271 GB, free: 2.332 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001446/1.124, allocations: 153.6 kB / 1.271 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/1.124, allocations: 18.45 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/1.124, allocations: 299.1 kB / 1.272 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.124, allocations: 7.125 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.124, allocations: 0.5625 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.124, allocations: 1.719 kB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.125, allocations: 0.6789 MB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.125, allocations: 1.078 kB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.126, allocations: 17.39 kB / 1.272 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.126, allocations: 0.625 kB / 1.272 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/1.126, allocations: 12.67 kB / 1.272 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.126, allocations: 0.5938 kB / 1.272 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.126, allocations: 4.656 kB / 1.272 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/1.126, allocations: 375.4 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/1.126, allocations: 98.75 kB / 1.273 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/1.126, allocations: 13.25 kB / 1.273 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.127, allocations: 16.67 kB / 1.273 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.127, allocations: 28.88 kB / 1.273 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.127, allocations: 23.83 kB / 1.273 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.714e-05/1.127, allocations: 123.3 kB / 1.273 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.127, allocations: 0.9062 kB / 1.273 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000372/1.127, allocations: 68.91 kB / 1.273 GB, free: 1.125 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002094/1.127, allocations: 134.6 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005934/1.128, allocations: 311.3 kB / 1.274 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.128, allocations: 1.375 kB / 1.274 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/1.128, allocations: 122.2 kB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/1.129, allocations: 51.5 kB / 1.274 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/1.129, allocations: 398.8 kB / 1.274 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.13, allocations: 0.7299 MB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/1.13, allocations: 31.3 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.13, allocations: 0 / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Templates: time 0.006862/1.137, allocations: 3.117 MB / 1.278 GB, free: 15.48 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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: 11.72289148089476]