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.001593/0.001593, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001941/0.001941, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.201/3.201, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002083/0.002083, allocations: 68.61 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4094, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002576/0.412, allocations: 1.029 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.4146, allocations: 1.603 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.4148, allocations: 7.938 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.4149, allocations: 15.75 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.4151, allocations: 51.64 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.4158, allocations: 226 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.4162, allocations: 327.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.4163, allocations: 55.02 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.4165, allocations: 127.6 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.4167, allocations: 111.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.4168, allocations: 32 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.4169, allocations: 47.92 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.4169, allocations: 59.83 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4171, allocations: 103.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.4175, allocations: 370.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4176, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4176, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4176, allocations: 0 / 1.331 GB, free: 12.82 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.0009392/0.4185, allocations: 483.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4185, allocations: 8.031 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.4186, allocations: 24.84 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.419, allocations: 218.1 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.419, allocations: 16.66 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.4191, allocations: 28.36 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.4195, allocations: 176.1 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4195, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.4195, allocations: 11.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.4195, allocations: 7.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.4198, allocations: 136.6 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009625/0.4208, allocations: 0.5079 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.4212, allocations: 170.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.4214, allocations: 72.83 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4215, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.4219, allocations: 211 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 4.017e-06/0.4219, allocations: 3.984 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007601/0.4226, allocations: 327.3 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4227, allocations: 59.41 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4229, allocations: 182.8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.4229, allocations: 37.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.423, allocations: 128.6 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.4231, allocations: 67.52 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.4232, allocations: 73.69 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4234, allocations: 330.8 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4236, allocations: 129.7 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.4239, allocations: 207.8 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.4242, allocations: 209 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4242, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006177/0.4248, allocations: 381.4 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.4249, allocations: 39.42 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4249, allocations: 0 / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.4249, allocations: 4 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.425, allocations: 23.92 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.425, allocations: 7.984 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.4253, allocations: 45.75 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.4253, allocations: 19.98 kB / 1.335 GB, free: 8.297 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.00017/0.4255, allocations: 157.8 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.4255, allocations: 19.84 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.4261, allocations: 277.6 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4261, allocations: 4 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4261, allocations: 0 / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4261, allocations: 0 / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.4271, allocations: 0.5763 MB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4271, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.4272, allocations: 15.98 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4272, allocations: 3.984 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.4272, allocations: 11.98 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4272, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4272, allocations: 3.984 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.4277, allocations: 375.3 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.4278, allocations: 19.84 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.4278, allocations: 16 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.428, allocations: 11.98 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.4281, allocations: 27.94 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.4281, allocations: 12 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001255/0.4282, allocations: 131.2 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003511/0.4286, allocations: 63.89 kB / 1.337 GB, free: 6.523 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.0002122/0.4288, allocations: 129.2 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.4294, allocations: 312.8 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4294, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.4296, allocations: 102.5 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.43, allocations: 44.03 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.4308, allocations: 389.9 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.4309, allocations: 117.3 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.431, allocations: 31.42 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.431, allocations: 4 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of Templates: time 0.005703/0.4367, allocations: 3.13 MB / 1.341 GB, free: 2.23 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 -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: 11.875520575093105]