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.001276/0.001276, allocations: 93.06 kB / 19.65 MB, free: 276 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.001499/0.001499, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9238/0.9238, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.023/2.023, allocations: 429.5 MB / 0.6733 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.753e-06/1.753e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.959e-05, allocations: 3.531 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001604/0.001624, allocations: 1.088 MB / 0.8792 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.003614, allocations: 1.652 MB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.003737, allocations: 7.938 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.003872, allocations: 15.75 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.004003, allocations: 56.45 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.004503, allocations: 207.5 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.004822, allocations: 336.2 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.004973, allocations: 61.52 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.005338, allocations: 184.8 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.005474, allocations: 87.73 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.005518, allocations: 32 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.005599, allocations: 45.02 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.005645, allocations: 51.83 kB / 0.8819 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.005742, allocations: 91.8 kB / 0.882 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.006021, allocations: 228 kB / 0.8822 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006023, allocations: 0 / 0.8822 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006024, allocations: 3.438 kB / 0.8822 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.006028, allocations: 0 / 0.8822 GB, free: 2.137 MB / 0.8386 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.0007389/0.006767, allocations: 0.5723 MB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.006802, allocations: 8.031 kB / 0.8828 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.006892, allocations: 40.78 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.007166, allocations: 221.8 kB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.007196, allocations: 17.75 kB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.007232, allocations: 24.38 kB / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.007511, allocations: 153.6 kB / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.00752, allocations: 192 / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.007544, allocations: 17.83 kB / 0.8832 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.007555, allocations: 7.938 kB / 0.8832 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.007728, allocations: 80.75 kB / 0.8833 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.008442, allocations: 0.5472 MB / 0.8838 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.008722, allocations: 132.1 kB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.008813, allocations: 55.66 kB / 0.884 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.008833, allocations: 7.938 kB / 0.884 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.009082, allocations: 168.9 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.009084, allocations: 0 / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0004618/0.009546, allocations: 258.1 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.009587, allocations: 67.27 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.009736, allocations: 230.3 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.00977, allocations: 41.7 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.009849, allocations: 171.3 kB / 0.8849 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.009905, allocations: 75.45 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.01001, allocations: 71.34 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01013, allocations: 0.504 MB / 0.8856 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.01028, allocations: 93.66 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.01045, allocations: 176.2 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.01066, allocations: 172.9 kB / 0.886 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01066, allocations: 4 kB / 0.886 GB, free: 14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004125/0.01107, allocations: 321.1 kB / 0.8863 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.01111, allocations: 41.62 kB / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01111, allocations: 4 kB / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01113, allocations: 0 / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.01123, allocations: 31.92 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01123, allocations: 4 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01137, allocations: 39.86 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.0114, allocations: 12 kB / 0.8864 GB, free: 13.54 MB / 0.8542 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.0001162/0.01151, allocations: 192.5 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.01156, allocations: 39.88 kB / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.01189, allocations: 225.2 kB / 0.8869 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01189, allocations: 4 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01189, allocations: 0 / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0119, allocations: 3.984 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.01248, allocations: 0.5689 MB / 0.8874 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01248, allocations: 0 / 0.8874 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.01254, allocations: 19.92 kB / 0.8874 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01254, allocations: 4 kB / 0.8874 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.01256, allocations: 7.984 kB / 0.8874 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01256, allocations: 4 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01256, allocations: 0 / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.01289, allocations: 380.7 kB / 0.8878 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.01291, allocations: 19.8 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.01295, allocations: 19.98 kB / 0.8879 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.01305, allocations: 15.98 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.01311, allocations: 23.95 kB / 0.8879 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.01314, allocations: 19.98 kB / 0.8879 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.071e-05/0.01322, allocations: 155.2 kB / 0.8881 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 0 / 0.8881 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002848/0.01351, allocations: 52 kB / 0.8881 GB, free: 11.73 MB / 0.8542 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.0001367/0.01365, allocations: 133.1 kB / 0.8882 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.01413, allocations: 264.6 kB / 0.8885 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01413, allocations: 0 / 0.8885 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.01426, allocations: 95.69 kB / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.01459, allocations: 53.89 kB / 0.8886 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.01515, allocations: 343.8 kB / 0.889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.0152, allocations: 84.33 kB / 0.889 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.662e-05/0.01526, allocations: 21.95 kB / 0.8891 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.01532, allocations: 28.48 kB / 0.8891 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.01532, allocations: 0 / 0.8891 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.006541/0.02187, allocations: 3.804 MB / 0.8928 GB, free: 6.914 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338177816942334]