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.0009534/0.0009534, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.0009928/0.0009928, allocations: 165 kB / 24.05 MB, free: 464 kB / 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.9755/0.9755, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.066/2.066, allocations: 429.5 MB / 0.6743 GB, free: 3.871 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.192e-06/1.192e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.094e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001505/0.001516, allocations: 1.074 MB / 0.8805 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.003041, allocations: 1.649 MB / 0.8821 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.003132, allocations: 7.938 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.003228, allocations: 15.75 kB / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.003317, allocations: 48.31 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.003671, allocations: 215.4 kB / 0.8823 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.003913, allocations: 332.5 kB / 0.8827 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004023, allocations: 59.02 kB / 0.8827 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.004193, allocations: 187.6 kB / 0.8829 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004294, allocations: 92.52 kB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.004326, allocations: 32 kB / 0.883 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.004388, allocations: 49.52 kB / 0.8831 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.004432, allocations: 51.81 kB / 0.8831 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.004504, allocations: 95.8 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.004713, allocations: 207.4 kB / 0.8834 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004716, allocations: 5.547 kB / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004717, allocations: 4 kB / 0.8834 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.00472, allocations: 0 / 0.8834 GB, free: 1.898 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.0005447/0.005265, allocations: 0.5752 MB / 0.884 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.005292, allocations: 15.97 kB / 0.884 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.005354, allocations: 40.78 kB / 0.884 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.005566, allocations: 213.3 kB / 0.8842 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.005588, allocations: 16.59 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.005615, allocations: 25.09 kB / 0.8843 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.005797, allocations: 151.5 kB / 0.8844 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.005804, allocations: 192 / 0.8844 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.00582, allocations: 12.36 kB / 0.8844 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005827, allocations: 7.938 kB / 0.8844 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.005931, allocations: 76.97 kB / 0.8845 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.006473, allocations: 0.5153 MB / 0.885 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.006666, allocations: 127.3 kB / 0.8851 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.006727, allocations: 35.66 kB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.006743, allocations: 4 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.00692, allocations: 166.6 kB / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.006922, allocations: 0 / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0003035/0.007225, allocations: 241.3 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.007257, allocations: 59.39 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007377, allocations: 234.2 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.007404, allocations: 37.7 kB / 0.8859 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.007475, allocations: 175.4 kB / 0.886 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.007518, allocations: 67.44 kB / 0.8861 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.007598, allocations: 79.31 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.007715, allocations: 0.5079 MB / 0.8867 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.007792, allocations: 81.66 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.007899, allocations: 164.2 kB / 0.8869 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.008027, allocations: 156.3 kB / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.008029, allocations: 0 / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002746/0.008304, allocations: 297 kB / 0.8873 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.008331, allocations: 37.7 kB / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.008335, allocations: 0 / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.008345, allocations: 8.031 kB / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.008417, allocations: 35.92 kB / 0.8874 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.00842, allocations: 0 / 0.8874 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.00853, allocations: 39.92 kB / 0.8875 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.008549, allocations: 15.98 kB / 0.8875 GB, free: 13.46 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.0001035/0.008652, allocations: 196.4 kB / 0.8877 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.008685, allocations: 35.84 kB / 0.8877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.008912, allocations: 211.4 kB / 0.8879 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.008915, allocations: 7.938 kB / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008917, allocations: 0 / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.008921, allocations: 0 / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.009341, allocations: 0.5255 MB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009342, allocations: 0 / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.00938, allocations: 12 kB / 0.8884 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.009386, allocations: 11.92 kB / 0.8884 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.009396, allocations: 0 / 0.8884 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.009399, allocations: 4 kB / 0.8884 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0094, allocations: 4 kB / 0.8884 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.009642, allocations: 369.9 kB / 0.8888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.009659, allocations: 19.8 kB / 0.8888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.009691, allocations: 19.94 kB / 0.8888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.009762, allocations: 11.98 kB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.009811, allocations: 31.94 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.009826, allocations: 4 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.009885, allocations: 159.1 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009885, allocations: 0 / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002095/0.01009, allocations: 56 kB / 0.8891 GB, free: 11.74 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.0001298/0.01022, allocations: 133.1 kB / 0.8892 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.01046, allocations: 236.6 kB / 0.8894 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01046, allocations: 0 / 0.8894 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.01054, allocations: 83.56 kB / 0.8895 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01078, allocations: 53.05 kB / 0.8896 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.01121, allocations: 347 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01125, allocations: 80.33 kB / 0.89 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.01132, allocations: 29.94 kB / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.01145, allocations: 126.2 kB / 0.8901 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.01145, allocations: 0 / 0.8901 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.005186/0.01663, allocations: 3.97 MB / 0.894 GB, free: 6.688 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.2475596209988]