Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004054/0.0004054, allocations: 0 / 0, free: 0 / 0 " [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.0005294/0.0005294, allocations: 0 / 0, free: 0 / 0 " [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 0.4354/0.4354, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.8453/0.8453, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: simulate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold",simflags="-alarm=400 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold",simflags="-alarm=400 -emit_protected -lv LOG_STATS") [Timeout 700] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.019e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.006777/0.006807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005049/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.01298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.01357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.01593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002085/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.01966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.02126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009532/0.02221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.02249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.02285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.02331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.02417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003388/0.02756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002124/0.02777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.36e-06/0.02778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.328e-05/0.0278, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.005101/0.0329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001152/0.03301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.03518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.03753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.03775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.03815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.04287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.04291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.04318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.04322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/0.04656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.05778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.0605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.06173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.308e-05/0.0618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/0.06401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=59): time 0.0001355/0.06415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=59): time 0.00514/0.06929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.06948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.07059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004568/0.07104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.0715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.07187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.07303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003348/0.07336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.07497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.07688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.07961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-05/0.07964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100) (initialization): time 0.005136/0.08477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.08488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.08491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.592e-05/0.08497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.08569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.345e-05/0.08574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.08658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/0.08685, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.conChaWid.truFalHol.onDel1.u,$PRE.conChaWid.truFalHol.onDel2.u,$PRE.conChaWid.truFalHol.toTrue.enableFire,$PRE.conChaWid.truFalHol.toFalse.enableFire,$PRE.conChaWid.truFalHol.toTrue1.enableFire,$PRE.conChaWid.truFalHol.toFalse1.enableFire,$whenCondition9,$whenCondition10,$PRE.conChaWid.truFalHol.onDel2.t_next,$whenCondition6,$PRE.conChaWid.truFalHol.onDel1.t_next,$whenCondition3,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conChaWid.truFalHol.onDel2.t_next,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.toFalse1.enableFire,conChaWid.truFalHol.toFalse1.localCondition,conChaWid.truFalHol.toTrue1.enableFire,conChaWid.truFalHol.initialStep.oldActive,$PRE.conChaWid.truFalHol.initialStep.oldActive,conChaWid.truFalHol.initialStep.newActive,$PRE.conChaWid.truFalHol.initialStep.newActive,conChaWid.truFalHol.initialStep.outPort[2].available,conChaWid.truFalHol.initialStep.localActive,$PRE.conChaWid.truFalHol.initialStep.localActive,conChaWid.truFalHol.initialStep.active,conChaWid.truFalHol.toFalse.enableFire,conChaWid.truFalHol.toFalse.localCondition,conChaWid.truFalHol.outputTrue.active,conChaWid.truFalHol.outputTrue.oldActive,$PRE.conChaWid.truFalHol.outputTrue.oldActive,conChaWid.truFalHol.outputTrue.newActive,$PRE.conChaWid.truFalHol.outputTrue.newActive,conChaWid.truFalHol.outputTrue.inPort[2].occupied,conChaWid.truFalHol.outputTrue.localActive,$PRE.conChaWid.truFalHol.outputTrue.localActive,conChaWid.truFalHol.toTrue.enableFire,conChaWid.truFalHol.toTrue.localCondition,conChaWid.truFalHol.outputFalse.active,conChaWid.truFalHol.outputFalse.oldActive,$PRE.conChaWid.truFalHol.outputFalse.oldActive,conChaWid.truFalHol.outputFalse.newActive,$PRE.conChaWid.truFalHol.outputFalse.newActive,conChaWid.truFalHol.outputFalse.inPort[2].occupied,conChaWid.truFalHol.outputFalse.localActive,$PRE.conChaWid.truFalHol.outputFalse.localActive,conChaWid.truFalHol.stateGraphRoot.activeSteps,conChaWid.truFalHol.onDel2.y,conChaWid.truFalHol.onDel2.u,conChaWid.truFalHol.onDel1.y,conChaWid.truFalHol.onDel1.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,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,conChaWid.truFalHol.onDel1.t_next,conChaWid.truFalHol.toTrue.t_start,$PRE.conChaWid.truFalHol.toTrue.t_start,conChaWid.truFalHol.toFalse.t_start,$PRE.conChaWid.truFalHol.toFalse.t_start,conChaWid.truFalHol.toTrue1.t_start,$PRE.conChaWid.truFalHol.toTrue1.t_start,conChaWid.truFalHol.toFalse1.t_start,$PRE.conChaWid.truFalHol.toFalse1.t_start,conChaWid.truFalHol.stateGraphRoot.resume,conChaWid.truFalHol.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.001471/0.08832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.08876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.09253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.09255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.09256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.09258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/0.09951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.09953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.09988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/0.09991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.026e-06/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.1038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.1041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.1044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.1049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006745/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006348/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.633e-05/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002216/0.1086, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 50 (conChaWid.truFalHol.toFalse1.t_start,conChaWid.truFalHol.toTrue1.t_start,conChaWid.truFalHol.toFalse.t_start,conChaWid.truFalHol.toTrue.t_start,conChaWid.edg2.y,conChaWid.truFalHol.initialStep.active,conChaWid.truFalHol.outputTrue.localActive,conChaWid.truFalHol.onDel2.u,conChaWid.truFalHol.outputTrue.active,conChaWid.truFalHol.outputFalse.localActive,conChaWid.truFalHol.onDel1.u,conChaWid.truFalHol.outputFalse.active,conChaWid.preBre.y,$whenCondition9,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.onDel1.y,conChaWid.truFalHol.onDel1.t_next,conChaWid.truFalHol.onDel2.y,conChaWid.truFalHol.onDel2.t_next,conChaWid.truFalHol.stateGraphRoot.activeSteps,conChaWid.truFalHol.outputFalse.inPort[2].occupied,conChaWid.truFalHol.outputFalse.newActive,conChaWid.truFalHol.outputFalse.oldActive,conChaWid.truFalHol.toTrue.localCondition,conChaWid.truFalHol.toTrue.enableFire,conChaWid.truFalHol.outputTrue.inPort[2].occupied,conChaWid.truFalHol.outputTrue.newActive,conChaWid.truFalHol.outputTrue.oldActive,conChaWid.truFalHol.toFalse.localCondition,conChaWid.truFalHol.toFalse.enableFire,conChaWid.truFalHol.initialStep.localActive,conChaWid.truFalHol.initialStep.outPort[2].available,conChaWid.truFalHol.initialStep.newActive,conChaWid.truFalHol.initialStep.oldActive,conChaWid.truFalHol.toTrue1.enableFire,conChaWid.truFalHol.toFalse1.localCondition,conChaWid.truFalHol.toFalse1.enableFire,conPul1.booPul.y) * Number of discrete states: 11 (conChaWid.truFalHol.onDel2.t_next,conChaWid.truFalHol.onDel1.t_next,conChaWid.preBre.u,conChaWid.truFalHol.outputFalse.newActive,conChaWid.truFalHol.outputTrue.newActive,conChaWid.truFalHol.initialStep.newActive,conChaWid.edg2.u,conChaWid.truFalHol.toTrue.t_start,conChaWid.truFalHol.toFalse.t_start,conChaWid.truFalHol.toTrue1.t_start,conChaWid.truFalHol.toFalse1.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000731/0.1094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003502/0.1129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001414/0.1143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.1168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.1215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.1223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005622/0.1228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009705/0.1238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005989/0.1244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002808/0.1272, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 700] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 2.726476042000286]