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.001034/0.001034, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001029/0.001029, allocations: 173 kB / 23.49 MB, free: 1.059 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.9819/0.9819, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.216/2.216, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.506e-06/3.506e-06, allocations: 0 / 0.8782 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.713e-05, allocations: 6.25 kB / 0.8782 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002693/0.00273, allocations: 1.069 MB / 0.8792 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.005433, allocations: 1.649 MB / 0.8809 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.005643, allocations: 7.938 kB / 0.8809 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.005824, allocations: 20.41 kB / 0.8809 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.006021, allocations: 52.28 kB / 0.8809 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.006767, allocations: 215.4 kB / 0.8811 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.007242, allocations: 342.9 kB / 0.8815 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.007447, allocations: 55.06 kB / 0.8815 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.007775, allocations: 183.7 kB / 0.8817 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.007947, allocations: 91.73 kB / 0.8818 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.008005, allocations: 32 kB / 0.8818 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.008113, allocations: 36 kB / 0.8818 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.00818, allocations: 67.73 kB / 0.8819 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.008335, allocations: 91.75 kB / 0.882 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.008764, allocations: 227.3 kB / 0.8822 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.008769, allocations: 1.625 kB / 0.8822 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.442e-06/0.008771, allocations: 0 / 0.8822 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.008777, allocations: 0 / 0.8822 GB, free: 1.375 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.001153/0.00993, allocations: 0.5656 MB / 0.8828 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.00998, allocations: 8.031 kB / 0.8828 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.0101, allocations: 41.89 kB / 0.8828 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.01048, allocations: 213.8 kB / 0.883 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.01053, allocations: 16.66 kB / 0.883 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.01057, allocations: 20.38 kB / 0.883 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.01095, allocations: 162.1 kB / 0.8832 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01096, allocations: 4.125 kB / 0.8832 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.01098, allocations: 9.25 kB / 0.8832 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.011, allocations: 11.92 kB / 0.8832 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.01124, allocations: 85.47 kB / 0.8833 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01227, allocations: 0.5439 MB / 0.8838 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.01265, allocations: 136.7 kB / 0.884 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.01277, allocations: 52.16 kB / 0.884 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.0128, allocations: 5.844 kB / 0.884 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.01313, allocations: 162 kB / 0.8842 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 3.266e-06/0.01313, allocations: 0.5312 kB / 0.8842 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0006215/0.01375, allocations: 276.7 kB / 0.8844 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.0138, allocations: 59.34 kB / 0.8845 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.01401, allocations: 232.8 kB / 0.8847 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.01407, allocations: 43.3 kB / 0.8848 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01418, allocations: 167.4 kB / 0.8849 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.01425, allocations: 55.58 kB / 0.885 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.01439, allocations: 79.34 kB / 0.8851 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.01457, allocations: 0.5065 MB / 0.8855 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01476, allocations: 89.66 kB / 0.8856 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.01499, allocations: 182.7 kB / 0.8858 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.0153, allocations: 168.9 kB / 0.886 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0153, allocations: 0 / 0.886 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005677/0.01587, allocations: 322.9 kB / 0.8863 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.01592, allocations: 45.62 kB / 0.8863 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.01593, allocations: 0 / 0.8863 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.01595, allocations: 4 kB / 0.8863 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.0161, allocations: 28.02 kB / 0.8864 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01611, allocations: 8 kB / 0.8864 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.01631, allocations: 43.86 kB / 0.8864 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.01635, allocations: 8 kB / 0.8864 GB, free: 12.8 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.0001729/0.01652, allocations: 192.5 kB / 0.8866 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.01658, allocations: 31.86 kB / 0.8866 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.01705, allocations: 224.3 kB / 0.8868 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01705, allocations: 4 kB / 0.8868 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.01706, allocations: 0 / 0.8868 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.01706, allocations: 7.984 kB / 0.8868 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.01788, allocations: 0.5835 MB / 0.8874 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01789, allocations: 3.984 kB / 0.8874 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.01798, allocations: 15.94 kB / 0.8874 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.01798, allocations: 4 kB / 0.8874 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.018, allocations: 3.984 kB / 0.8874 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01801, allocations: 0 / 0.8874 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01801, allocations: 4 kB / 0.8874 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.01846, allocations: 384.6 kB / 0.8878 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.0185, allocations: 19.83 kB / 0.8878 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.01855, allocations: 12 kB / 0.8878 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.0187, allocations: 15.98 kB / 0.8879 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.0188, allocations: 23.95 kB / 0.8879 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.01884, allocations: 19.98 kB / 0.8879 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01896, allocations: 159.4 kB / 0.8881 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01896, allocations: 0 / 0.8881 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004202/0.01938, allocations: 67.94 kB / 0.8881 GB, free: 10.97 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.0002444/0.01963, allocations: 125.2 kB / 0.8882 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.02017, allocations: 261.6 kB / 0.8885 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.02018, allocations: 0 / 0.8885 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.02036, allocations: 91.52 kB / 0.8886 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.02085, allocations: 61.45 kB / 0.8886 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.02182, allocations: 347.1 kB / 0.889 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.0219, allocations: 84.27 kB / 0.889 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.022, allocations: 25.94 kB / 0.8891 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.02208, allocations: 28.5 kB / 0.8891 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of SimCode: time 1.553e-06/0.02208, allocations: 0 / 0.8891 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of Templates: time 0.008002/0.03008, allocations: 3.628 MB / 0.8926 GB, free: 6.324 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=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.57068396685645]