Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.00142/0.00142, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9497/0.9514, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.003774/0.9552, allocations: 2.83 MB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.9578, allocations: 1.696 MB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.9581, allocations: 21.62 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.9584, allocations: 115.4 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.9586, allocations: 112.8 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.9606, allocations: 0.9545 MB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.9628, allocations: 1.69 MB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.9642, allocations: 0.9106 MB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007964/0.965, allocations: 0.5651 MB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.9659, allocations: 0.5653 MB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.9662, allocations: 170.4 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.9666, allocations: 196.9 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.967, allocations: 305 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.9677, allocations: 0.6082 MB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.97, allocations: 1.747 MB / 1.101 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.9701, allocations: 1 kB / 1.101 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9701, allocations: 0 / 1.101 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.9701, allocations: 0 / 1.101 GB, free: 14.41 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002767/0.9729, allocations: 1.406 MB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.973, allocations: 9.375 kB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.9733, allocations: 119.7 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.9745, allocations: 0.5762 MB / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.9747, allocations: 106.9 kB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.9749, allocations: 147.2 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.9774, allocations: 1.202 MB / 1.104 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.9775, allocations: 6.5 kB / 1.104 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.9776, allocations: 49.81 kB / 1.104 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.9776, allocations: 25.75 kB / 1.104 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.9791, allocations: 0.7348 MB / 1.105 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/0.9856, allocations: 5.117 MB / 1.11 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.9871, allocations: 0.8068 MB / 1.111 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006054/0.9877, allocations: 409.9 kB / 1.111 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.9878, allocations: 14.41 kB / 1.111 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.9889, allocations: 0.6379 MB / 1.112 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=100): time 3.737e-06/0.9889, allocations: 0 / 1.112 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100): time 0.002631/0.9915, allocations: 1.162 MB / 1.113 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.9917, allocations: 368.2 kB / 1.113 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.9923, allocations: 459.5 kB / 1.114 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.9926, allocations: 94.11 kB / 1.114 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.9929, allocations: 388.7 kB / 1.114 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.9932, allocations: 238.1 kB / 1.115 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006884/0.9939, allocations: 366.4 kB / 1.115 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.994, allocations: 324.1 kB / 1.115 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009403/0.995, allocations: 398.3 kB / 1.116 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.9963, allocations: 0.8615 MB / 1.116 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.9981, allocations: 1.231 MB / 1.118 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.9981, allocations: 5.312 kB / 1.118 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002992/1.001, allocations: 1.479 MB / 1.119 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.001, allocations: 136.9 kB / 1.119 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.001, allocations: 15.06 kB / 1.119 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.046e-05/1.001, allocations: 24.53 kB / 1.119 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/1.002, allocations: 157.8 kB / 1.119 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.793e-05/1.002, allocations: 34.09 kB / 1.119 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.003, allocations: 220.8 kB / 1.12 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/1.003, allocations: 89.64 kB / 1.12 GB, free: 1.789 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 148 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$PRE.truHol.onDelay.t_next,$whenCondition18,$whenCondition16,$whenCondition17,truHol.toInitial.enableFire,truHol.toOutputTrue.enableFire,truHol.outputTrue.active,truHol.outputTrue.oldActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.localActive,truHol.initialStep.oldActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.localActive,truHol.initialStep.active,truHol.onDelay.y,truHol.onDelay.u,truHol.stateGraphRoot.activeSteps,booPul.y,$PRE.booPul.y,$whenCondition20,$whenCondition19,truHol.onDelay.t_next,truHol.toOutputTrue.t_start,$PRE.truHol.toOutputTrue.t_start,truHol.toInitial.t_start,$PRE.truHol.toInitial.t_start,$PRE.truHol1.onDelay.t_next,$whenCondition13,$whenCondition11,$whenCondition12,truHol1.toInitial.enableFire,truHol1.toOutputTrue.enableFire,truHol1.outputTrue.active,truHol1.outputTrue.oldActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.localActive,truHol1.initialStep.oldActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.active,truHol1.onDelay.y,truHol1.onDelay.u,truHol1.stateGraphRoot.activeSteps,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition14,truHol1.onDelay.t_next,truHol1.toOutputTrue.t_start,$PRE.truHol1.toOutputTrue.t_start,truHol1.toInitial.t_start,$PRE.truHol1.toInitial.t_start,$PRE.truHol2.onDelay.t_next,$whenCondition8,$whenCondition6,$whenCondition7,truHol2.toInitial.enableFire,truHol2.toOutputTrue.enableFire,truHol2.outputTrue.active,truHol2.outputTrue.oldActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.localActive,truHol2.initialStep.oldActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.active,truHol2.onDelay.y,truHol2.onDelay.u,truHol2.stateGraphRoot.activeSteps,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition9,truHol2.onDelay.t_next,truHol2.toOutputTrue.t_start,$PRE.truHol2.toOutputTrue.t_start,truHol2.toInitial.t_start,$PRE.truHol2.toInitial.t_start,$PRE.truHol3.onDelay.t_next,$whenCondition3,$whenCondition1,$whenCondition2,truHol3.toInitial.enableFire,truHol3.toOutputTrue.enableFire,truHol3.outputTrue.active,truHol3.outputTrue.oldActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.localActive,truHol3.initialStep.oldActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.active,truHol3.onDelay.y,truHol3.onDelay.u,truHol3.stateGraphRoot.activeSteps,booPul3.y,$PRE.booPul3.y,$whenCondition5,$whenCondition4,truHol3.onDelay.t_next,truHol3.toOutputTrue.t_start,$PRE.truHol3.toOutputTrue.t_start,truHol3.toInitial.t_start,$PRE.truHol3.toInitial.t_start,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 4 * 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.0009793/1.004, allocations: 400 kB / 1.12 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.005, allocations: 78.12 kB / 1.12 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/1.007, allocations: 0.8896 MB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.007, allocations: 9.172 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.007, allocations: 2.172 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.007, allocations: 143.9 kB / 1.121 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.007, allocations: 39.73 kB / 1.121 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.007, allocations: 31.11 kB / 1.121 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.008, allocations: 108.5 kB / 1.121 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002208/1.01, allocations: 1.858 MB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002084/1.012, allocations: 1.906 MB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000705/1.013, allocations: 454.5 kB / 1.125 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002975/1.013, allocations: 228.7 kB / 1.126 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of Backend: time 3.9e-07/1.013, allocations: 0 / 1.126 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003369/1.016, allocations: 1.112 MB / 1.127 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003072/1.019, allocations: 1.625 MB / 1.128 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of Templates: time 0.03152/1.051, allocations: 11.4 MB / 1.139 GB, free: 10.61 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TrueHoldWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches