Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009185/0.0009185, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009197/0.0009197, allocations: 161 kB / 24.17 MB, free: 328 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.9452/0.9452, allocations: 177.1 MB / 204.6 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.01e-05, allocations: 3.859 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002531/0.002561, allocations: 1.059 MB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.005287, allocations: 1.657 MB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.005488, allocations: 7.938 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.005652, allocations: 21.52 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.005827, allocations: 50.92 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.006391, allocations: 219.4 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.00668, allocations: 335.1 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.006806, allocations: 61.72 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.007273, allocations: 183.7 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.007387, allocations: 95.67 kB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.007421, allocations: 32 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.007495, allocations: 43.97 kB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.007538, allocations: 54.02 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.007611, allocations: 95.8 kB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.007859, allocations: 223.2 kB / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007862, allocations: 0 / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.532e-06/0.007863, allocations: 0 / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.007867, allocations: 0 / 0.764 GB, free: 2.52 MB / 0.7136 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.0005703/0.008437, allocations: 456 kB / 0.7645 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.008471, allocations: 12.02 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.008526, allocations: 34.16 kB / 0.7645 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.008751, allocations: 185.4 kB / 0.7647 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.008776, allocations: 17.88 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.008804, allocations: 20.38 kB / 0.7647 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.009007, allocations: 149.9 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.009015, allocations: 192 / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.009028, allocations: 9.062 kB / 0.7649 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.009036, allocations: 7.938 kB / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.009138, allocations: 75.8 kB / 0.765 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.009621, allocations: 347.7 kB / 0.7653 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.009799, allocations: 99.14 kB / 0.7654 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.009848, allocations: 37.44 kB / 0.7654 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.009866, allocations: 4 kB / 0.7654 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.01003, allocations: 165.9 kB / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.01003, allocations: 0 / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0002166/0.01025, allocations: 161.5 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01028, allocations: 59.41 kB / 0.7658 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01039, allocations: 173.7 kB / 0.766 GB, free: 444 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.01042, allocations: 41.69 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.01048, allocations: 120.6 kB / 0.7661 GB, free: 272 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.01053, allocations: 63.52 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.0106, allocations: 69.64 kB / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.0107, allocations: 330.8 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.01078, allocations: 77.67 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01088, allocations: 145 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.01102, allocations: 153.9 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01102, allocations: 0 / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002148/0.01124, allocations: 241.9 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.01127, allocations: 35.25 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01127, allocations: 4.75 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01129, allocations: 3.938 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.01136, allocations: 32.67 kB / 0.7672 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01136, allocations: 4 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01147, allocations: 41.2 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.01149, allocations: 12 kB / 0.7673 GB, free: 14.99 MB / 0.7292 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.0001018/0.01159, allocations: 141.2 kB / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01162, allocations: 23.98 kB / 0.7674 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.01179, allocations: 141.9 kB / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01179, allocations: 7.938 kB / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.0118, allocations: 0 / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.0118, allocations: 3.984 kB / 0.7676 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.01215, allocations: 357.9 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01215, allocations: 0 / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.01219, allocations: 8 kB / 0.7679 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01219, allocations: 11.88 kB / 0.7679 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01221, allocations: 11.97 kB / 0.7679 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.01221, allocations: 4 kB / 0.768 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01222, allocations: 3.984 kB / 0.768 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01238, allocations: 232.5 kB / 0.7682 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.01239, allocations: 19.84 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.01243, allocations: 19.92 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.0125, allocations: 15.98 kB / 0.7682 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.01255, allocations: 25.52 kB / 0.7683 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.01256, allocations: 11.98 kB / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.0126, allocations: 46.3 kB / 0.7683 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0126, allocations: 0 / 0.7683 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002005/0.0128, allocations: 65.17 kB / 0.7684 GB, free: 13.82 MB / 0.7292 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.0001525/0.01296, allocations: 109.4 kB / 0.7685 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.0132, allocations: 239.2 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.0132, allocations: 4 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.01328, allocations: 68.11 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.01348, allocations: 45.48 kB / 0.7688 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.01396, allocations: 332 kB / 0.7691 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.014, allocations: 80.19 kB / 0.7692 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.01407, allocations: 27.25 kB / 0.7692 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01419, allocations: 104.5 kB / 0.7693 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.01419, allocations: 0 / 0.7693 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.006069/0.02026, allocations: 3.847 MB / 0.7731 GB, free: 9.133 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.041907391976565]