Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00695/0.00695, allocations: 100.8 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 201.6 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 284.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 103.8 kB / 0.6809 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4348, allocations: 86.98 MB / 0.7659 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002854/0.4377, allocations: 1.469 MB / 0.7673 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.4384, allocations: 444.7 kB / 0.7677 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.4385, allocations: 0 / 0.7677 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.4385, allocations: 0 / 0.7677 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.4386, allocations: 11.88 kB / 0.7678 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.4388, allocations: 27.95 kB / 0.7678 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.4389, allocations: 51.8 kB / 0.7678 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.439, allocations: 18.8 kB / 0.7679 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.4391, allocations: 19.92 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.4391, allocations: 19.92 kB / 0.7679 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4391, allocations: 8 kB / 0.7679 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.4392, allocations: 4 kB / 0.7679 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.4392, allocations: 11.97 kB / 0.7679 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.4392, allocations: 27.86 kB / 0.7679 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.4393, allocations: 39.83 kB / 0.768 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4393, allocations: 0 / 0.768 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4394, allocations: 4 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4394, allocations: 3.938 kB / 0.768 GB, free: 1.645 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004845/0.4399, allocations: 355.4 kB / 0.7683 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4399, allocations: 15.97 kB / 0.7683 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.4399, allocations: 38.75 kB / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.44, allocations: 8.844 kB / 0.7684 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4401, allocations: 168.4 kB / 0.7685 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4401, allocations: 4.375 kB / 0.7686 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4402, allocations: 8.375 kB / 0.7686 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4403, allocations: 65.73 kB / 0.7686 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4403, allocations: 0 / 0.7686 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.4403, allocations: 0 / 0.7686 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.4403, allocations: 0 / 0.7686 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.4404, allocations: 27.98 kB / 0.7686 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4408, allocations: 304.6 kB / 0.7689 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4409, allocations: 58.59 kB / 0.769 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.441, allocations: 24.91 kB / 0.769 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.441, allocations: 4 kB / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.4412, allocations: 71.42 kB / 0.7691 GB, free: 348 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4412, allocations: 0 / 0.7691 GB, free: 348 kB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002184/0.4414, allocations: 101.5 kB / 0.7692 GB, free: 240 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4415, allocations: 55.41 kB / 0.7692 GB, free: 172 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.4416, allocations: 105.8 kB / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4416, allocations: 29.7 kB / 0.7694 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.4417, allocations: 88.12 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.4417, allocations: 20.09 kB / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.4418, allocations: 29.7 kB / 0.7695 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4419, allocations: 318.8 kB / 0.7698 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.4419, allocations: 23.98 kB / 0.7698 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.442, allocations: 51.3 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.4421, allocations: 67.55 kB / 0.7699 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4421, allocations: 0 / 0.7699 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.4422, allocations: 97.45 kB / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4423, allocations: 8 kB / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4423, allocations: 4.031 kB / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4423, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.4424, allocations: 8 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4424, allocations: 7.984 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.4425, allocations: 11.94 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4425, allocations: 12 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.874e-05/0.4426, allocations: 121.8 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.4426, allocations: 7.906 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.4426, allocations: 15.95 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4426, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4426, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4426, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.443, allocations: 358.4 kB / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.443, allocations: 0 / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.4431, allocations: 0 / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4431, allocations: 4 kB / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4431, allocations: 4 kB / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4431, allocations: 11.92 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4431, allocations: 0 / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.4433, allocations: 179.4 kB / 0.7708 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.4433, allocations: 81.11 kB / 0.7708 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4433, allocations: 3.984 kB / 0.7708 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.4434, allocations: 7.938 kB / 0.7708 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.4435, allocations: 12.17 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4435, allocations: 0 / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.4435, allocations: 87.22 kB / 0.7709 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4435, allocations: 0 / 0.7709 GB, free: 14.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00023/0.4438, allocations: 23.92 kB / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004258/0.4442, allocations: 0.7162 MB / 0.7717 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.4443, allocations: 60.25 kB / 0.7717 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4443, allocations: 0 / 0.7717 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.4444, allocations: 27.92 kB / 0.7717 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4447, allocations: 16.03 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4459, allocations: 1.364 MB / 0.7731 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.4461, allocations: 0.6885 MB / 0.7738 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.4462, allocations: 4 kB / 0.7738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.4462, allocations: 15.44 kB / 0.7738 GB, free: 11.21 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4462, allocations: 0 / 0.7738 GB, free: 11.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.4636, allocations: 1.808 MB / 0.7755 GB, free: 9.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.721, allocations: 18.53 kB / 0.7756 GB, free: 9.527 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)