Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001554/0.001554, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001652/0.001652, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 73.41 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4278, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.00254/0.4303, allocations: 1.03 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.433, allocations: 1.607 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.4332, allocations: 7.938 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.4333, allocations: 19.73 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.4335, allocations: 47.66 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.4341, allocations: 227.1 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.4346, allocations: 331.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.4347, allocations: 51.03 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.4349, allocations: 127.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.4351, allocations: 119.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.4352, allocations: 36 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4353, allocations: 47.97 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.4353, allocations: 55.78 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.4355, allocations: 107.6 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.4359, allocations: 366.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.436, allocations: 7.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.436, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.436, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 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.001004/0.437, allocations: 483.7 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.437, allocations: 8.031 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.4371, allocations: 28.83 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.4375, allocations: 210.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.4375, allocations: 24.64 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.4376, allocations: 20.38 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.438, allocations: 184.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.438, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.438, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.438, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4384, allocations: 140.7 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.4394, allocations: 0.5078 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.4399, allocations: 171.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.4401, allocations: 72.83 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4401, allocations: 7.984 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.4405, allocations: 199.1 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.4405, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007827/0.4413, allocations: 335.2 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4414, allocations: 55.41 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4416, allocations: 182.8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.4416, allocations: 41.7 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4417, allocations: 132.6 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.4418, allocations: 59.53 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.4419, allocations: 77.67 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4421, allocations: 326.8 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.4423, allocations: 129.7 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.4426, allocations: 203.9 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.4429, allocations: 205 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4429, allocations: 4 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006155/0.4436, allocations: 381.4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.4436, allocations: 41.69 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4436, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4436, allocations: 4 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4438, allocations: 27.92 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4438, allocations: 7.938 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.4441, allocations: 48.88 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4441, allocations: 12 kB / 1.335 GB, free: 8.285 MB / 1.029 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,$whenCondition3,$whenCondition4,$whenCondition5) * 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.0001841/0.4443, allocations: 161.9 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4443, allocations: 23.84 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.4449, allocations: 269.7 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4449, allocations: 4 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4449, allocations: 0 / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4449, allocations: 3.984 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.4459, allocations: 0.5724 MB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4459, allocations: 0 / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.446, allocations: 23.92 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.446, allocations: 0 / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.4461, allocations: 11.98 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4461, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4461, allocations: 4 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.4467, allocations: 367.3 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.4467, allocations: 23.78 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.4468, allocations: 16 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.447, allocations: 19.97 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.4471, allocations: 23.95 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.4471, allocations: 11.98 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000128/0.4472, allocations: 127.2 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4472, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003755/0.4476, allocations: 63.89 kB / 1.337 GB, free: 6.508 MB / 1.029 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,$whenCondition5,$whenCondition4,$whenCondition3,$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.0002157/0.4478, allocations: 125.2 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.4484, allocations: 324.7 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4484, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.4487, allocations: 90.53 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.4491, allocations: 56.09 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.45, allocations: 360.2 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4501, allocations: 121.2 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.4502, allocations: 29.94 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.4503, allocations: 23.42 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4503, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of Templates: time 0.008241/0.4585, allocations: 3.722 MB / 1.342 GB, free: 1.672 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.652193493995583]