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.001426/0.001426, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001713/0.001713, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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 3.252/3.252, allocations: 429.6 MB / 0.673 GB, free: 3.848 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.8776 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.143e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002657/0.002689, allocations: 1.025 MB / 0.8786 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.005618, allocations: 1.618 MB / 0.8802 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.005834, allocations: 9 kB / 0.8802 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.006006, allocations: 23.67 kB / 0.8802 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.006178, allocations: 41 kB / 0.8803 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.006914, allocations: 223.3 kB / 0.8805 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.007403, allocations: 335.2 kB / 0.8808 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.007617, allocations: 60.42 kB / 0.8809 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.00798, allocations: 183.7 kB / 0.881 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.008169, allocations: 91.73 kB / 0.8811 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.008238, allocations: 39.22 kB / 0.8812 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.008347, allocations: 47.97 kB / 0.8812 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.008429, allocations: 51.83 kB / 0.8812 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.008578, allocations: 91.8 kB / 0.8813 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.009132, allocations: 398.7 kB / 0.8817 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.009136, allocations: 0 / 0.8817 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.333e-06/0.009137, allocations: 0 / 0.8817 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.009146, allocations: 0 / 0.8817 GB, free: 1.102 MB / 0.7917 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.001123/0.01027, allocations: 490 kB / 0.8822 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01031, allocations: 12.03 kB / 0.8822 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.01045, allocations: 32.84 kB / 0.8822 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.01089, allocations: 214.9 kB / 0.8824 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.01093, allocations: 14 kB / 0.8824 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.01099, allocations: 32.36 kB / 0.8825 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.01144, allocations: 177.8 kB / 0.8826 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01145, allocations: 192 / 0.8826 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.01148, allocations: 12.36 kB / 0.8827 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01149, allocations: 3.938 kB / 0.8827 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.01186, allocations: 132.8 kB / 0.8828 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.01297, allocations: 0.5195 MB / 0.8833 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.0135, allocations: 170.8 kB / 0.8835 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.0137, allocations: 72.83 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.01373, allocations: 4 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.01417, allocations: 196.3 kB / 0.8837 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.01417, allocations: 0 / 0.8837 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0008914/0.01506, allocations: 343.1 kB / 0.884 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.01512, allocations: 59.34 kB / 0.8841 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.01536, allocations: 183.2 kB / 0.8843 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.01542, allocations: 45.64 kB / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01555, allocations: 124.7 kB / 0.8844 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.01562, allocations: 67.47 kB / 0.8845 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01577, allocations: 73.69 kB / 0.8846 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.01596, allocations: 334.8 kB / 0.8849 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.01622, allocations: 125.7 kB / 0.885 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.01653, allocations: 200.5 kB / 0.8852 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.0169, allocations: 210.2 kB / 0.8854 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.0169, allocations: 0 / 0.8854 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007764/0.01768, allocations: 389 kB / 0.8858 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.01773, allocations: 41.64 kB / 0.8858 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01774, allocations: 0 / 0.8858 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.01777, allocations: 7.984 kB / 0.8858 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01789, allocations: 19.94 kB / 0.8858 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.0179, allocations: 7.984 kB / 0.8858 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.01821, allocations: 47.81 kB / 0.8859 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.01825, allocations: 15.98 kB / 0.8859 GB, free: 12.57 MB / 0.8073 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.0001927/0.01845, allocations: 157.9 kB / 0.8861 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.01851, allocations: 31.89 kB / 0.8861 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006552/0.01917, allocations: 277 kB / 0.8864 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01917, allocations: 0 / 0.8864 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01917, allocations: 4 kB / 0.8864 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01918, allocations: 3.984 kB / 0.8864 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.02027, allocations: 0.5804 MB / 0.8869 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02027, allocations: 0 / 0.8869 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.02035, allocations: 15.92 kB / 0.8869 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.02036, allocations: 4 kB / 0.8869 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.02038, allocations: 7.984 kB / 0.887 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.02038, allocations: 4 kB / 0.887 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02039, allocations: 0 / 0.887 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.02104, allocations: 372.2 kB / 0.8873 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.02109, allocations: 19.84 kB / 0.8873 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.02116, allocations: 19.98 kB / 0.8874 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.02134, allocations: 11.98 kB / 0.8874 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.02143, allocations: 27.89 kB / 0.8874 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.02147, allocations: 19.98 kB / 0.8874 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001349/0.0216, allocations: 131.2 kB / 0.8875 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0216, allocations: 0 / 0.8875 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003567/0.02196, allocations: 59.95 kB / 0.8876 GB, free: 10.77 MB / 0.8073 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.0002472/0.0222, allocations: 129.2 kB / 0.8877 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006397/0.02284, allocations: 309.3 kB / 0.888 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02285, allocations: 0 / 0.888 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.0231, allocations: 99.83 kB / 0.8881 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.02354, allocations: 58.38 kB / 0.8882 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.02438, allocations: 369.5 kB / 0.8885 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.02452, allocations: 117.3 kB / 0.8886 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.02463, allocations: 34.02 kB / 0.8887 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.0247, allocations: 24.5 kB / 0.8887 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.02471, allocations: 0 / 0.8887 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of Templates: time 0.008892/0.0336, allocations: 3.566 MB / 0.8922 GB, free: 6.086 MB / 0.8073 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.432992761954665]