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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009453/0.0009453, allocations: 169 kB / 23.02 MB, free: 1.555 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.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.154/2.154, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 3.317e-06/3.317e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.717e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003428/0.003465, allocations: 1.093 MB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003158/0.006622, allocations: 1.637 MB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.006824, allocations: 7.938 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.006988, allocations: 27.67 kB / 0.8809 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.007128, allocations: 44.66 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.007701, allocations: 211.5 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.008046, allocations: 339.7 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.008244, allocations: 59.89 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.008488, allocations: 187.6 kB / 0.8817 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.008628, allocations: 92.83 kB / 0.8818 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.008674, allocations: 32 kB / 0.8818 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.008764, allocations: 43.98 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.008814, allocations: 52.8 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.008912, allocations: 91.8 kB / 0.882 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.009244, allocations: 224.4 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.009249, allocations: 0 / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/0.009251, allocations: 0 / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.009259, allocations: 4.594 kB / 0.8822 GB, free: 2.215 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.0008303/0.01009, allocations: 0.5694 MB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.01013, allocations: 8.781 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01023, allocations: 40.8 kB / 0.8828 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.01057, allocations: 220.8 kB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.01061, allocations: 16.66 kB / 0.883 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.01064, allocations: 20.38 kB / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.01094, allocations: 161.1 kB / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01096, allocations: 192 / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.01097, allocations: 8.359 kB / 0.8832 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01099, allocations: 7.938 kB / 0.8832 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.01115, allocations: 85.38 kB / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/0.0119, allocations: 0.5436 MB / 0.8838 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.01219, allocations: 140 kB / 0.884 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.01227, allocations: 47.66 kB / 0.884 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.0123, allocations: 5.531 kB / 0.884 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.01253, allocations: 164.9 kB / 0.8842 GB, free: 68 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.625e-06/0.01253, allocations: 8 kB / 0.8842 GB, free: 60 kB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0004325/0.01296, allocations: 269.3 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.013, allocations: 59.34 kB / 0.8845 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.01314, allocations: 230.3 kB / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.01317, allocations: 37.7 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.01325, allocations: 179.3 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.01329, allocations: 67.47 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.01339, allocations: 79.33 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01352, allocations: 0.504 MB / 0.8856 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.01365, allocations: 85.66 kB / 0.8856 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.01408, allocations: 188.2 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.01427, allocations: 168.9 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01427, allocations: 8 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003616/0.01463, allocations: 321 kB / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.01467, allocations: 41.62 kB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01468, allocations: 4 kB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.0147, allocations: 0 / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.01479, allocations: 28.02 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.0148, allocations: 8 kB / 0.8864 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.01493, allocations: 43.86 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01495, allocations: 12 kB / 0.8864 GB, free: 13.61 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.0001167/0.01506, allocations: 188.5 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.0151, allocations: 31.86 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.0154, allocations: 231.4 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.01541, allocations: 8 kB / 0.8869 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01541, allocations: 0 / 0.8869 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01541, allocations: 0 / 0.8869 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.01595, allocations: 0.5728 MB / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01595, allocations: 0 / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.016, allocations: 12 kB / 0.8874 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01601, allocations: 4 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01602, allocations: 3.984 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01602, allocations: 4 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01602, allocations: 0 / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.01632, allocations: 392.7 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01634, allocations: 23.8 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.01637, allocations: 12.05 kB / 0.8878 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.01646, allocations: 19.97 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.01652, allocations: 27.94 kB / 0.8879 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.01654, allocations: 8 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.01662, allocations: 163.1 kB / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01662, allocations: 3.938 kB / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00024/0.01686, allocations: 59.94 kB / 0.8881 GB, free: 11.8 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.0001737/0.01703, allocations: 129.2 kB / 0.8882 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.01736, allocations: 264.6 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01736, allocations: 0 / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01747, allocations: 83.58 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01776, allocations: 61.78 kB / 0.8886 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.01833, allocations: 347.7 kB / 0.889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.01839, allocations: 76.33 kB / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.01845, allocations: 29.94 kB / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.0185, allocations: 20.5 kB / 0.8891 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/0.0185, allocations: 0 / 0.8891 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.006121/0.02462, allocations: 3.628 MB / 0.8926 GB, free: 7.164 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.626838735304773]