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.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.001803/0.001803, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.002132/0.002132, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.935/2.935, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.003486/0.003486, allocations: 59.91 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9307, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002269/0.933, allocations: 1.036 MB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.9351, allocations: 1.605 MB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.9352, allocations: 7.906 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.9354, allocations: 19.36 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.9355, allocations: 42.67 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.9361, allocations: 227.3 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.9365, allocations: 325.7 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.9366, allocations: 55.98 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.9369, allocations: 133.7 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.9371, allocations: 115.7 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.9371, allocations: 32.31 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.9373, allocations: 46.06 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.9373, allocations: 48.88 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.9375, allocations: 110.1 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.938, allocations: 361 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.938, allocations: 0 / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.522e-06/0.938, allocations: 1.438 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.938, allocations: 0 / 1.191 GB, free: 13.68 MB / 1.076 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.0009049/0.9389, allocations: 483.1 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.9389, allocations: 9.719 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.939, allocations: 27.08 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.9394, allocations: 216.6 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.9394, allocations: 16.42 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.9395, allocations: 25.45 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.9399, allocations: 183.2 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9399, allocations: 4 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.9399, allocations: 10.28 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9399, allocations: 3.531 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.9402, allocations: 134.7 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.941, allocations: 0.5015 MB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.9415, allocations: 171.5 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.9417, allocations: 79.84 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.9417, allocations: 2.156 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.9421, allocations: 204.5 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.9421, allocations: 0 / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.0007764/0.9429, allocations: 332.6 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.9429, allocations: 55.77 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.9431, allocations: 185 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.9431, allocations: 42.42 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.9432, allocations: 127.4 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.9432, allocations: 61.83 kB / 1.193 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.9434, allocations: 83.05 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.9434, allocations: 331.2 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.9437, allocations: 131 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.9439, allocations: 201 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.9442, allocations: 206.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9442, allocations: 1.125 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005705/0.9448, allocations: 379.6 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.9448, allocations: 39.17 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9449, allocations: 1.125 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9449, allocations: 2.875 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.945, allocations: 25.31 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.945, allocations: 2.969 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.9453, allocations: 52.08 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.9453, allocations: 15.39 kB / 1.195 GB, free: 10.87 MB / 1.076 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.0001453/0.9455, allocations: 164.3 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.9455, allocations: 25.39 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.9461, allocations: 283.8 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9461, allocations: 6.156 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.9461, allocations: 1.656 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.9461, allocations: 1.266 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.947, allocations: 0.5664 MB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.947, allocations: 0.6562 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.9471, allocations: 12.52 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9471, allocations: 2.156 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.9471, allocations: 9.344 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.9471, allocations: 1.734 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9471, allocations: 5.031 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.9477, allocations: 371.7 kB / 1.196 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.9477, allocations: 18.53 kB / 1.196 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.9477, allocations: 14.78 kB / 1.196 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.9479, allocations: 12.33 kB / 1.196 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.948, allocations: 25.83 kB / 1.196 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.948, allocations: 17.03 kB / 1.196 GB, free: 9.949 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.285e-05/0.9481, allocations: 128.7 kB / 1.196 GB, free: 9.855 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9481, allocations: 5.156 kB / 1.196 GB, free: 9.852 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003519/0.9485, allocations: 64.27 kB / 1.196 GB, free: 9.836 MB / 1.076 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.0001793/0.9486, allocations: 123.9 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.9492, allocations: 320.4 kB / 1.197 GB, free: 9.559 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9492, allocations: 0 / 1.197 GB, free: 9.559 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.9494, allocations: 99.92 kB / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.9498, allocations: 53.56 kB / 1.197 GB, free: 9.504 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.9505, allocations: 357.5 kB / 1.197 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.9506, allocations: 122.7 kB / 1.197 GB, free: 9.195 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.734e-05/0.9507, allocations: 28.25 kB / 1.198 GB, free: 9.188 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.9508, allocations: 29.06 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.9508, allocations: 0 / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of Templates: time 0.008436/0.9592, allocations: 3.544 MB / 1.201 GB, free: 8.742 MB / 1.076 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 -s ida -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/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: 9.192079745000228]