Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 63.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002099/1.075, allocations: 0.8231 MB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001508/1.077, allocations: 1.162 MB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/1.077, allocations: 5.688 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/1.077, allocations: 5.25 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/1.077, allocations: 15.05 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/1.077, allocations: 140 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/1.078, allocations: 147.1 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/1.078, allocations: 32.23 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/1.078, allocations: 56.73 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/1.078, allocations: 68.59 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/1.078, allocations: 13.69 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/1.078, allocations: 23.19 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/1.078, allocations: 16.17 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/1.078, allocations: 56.25 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/1.078, allocations: 151.2 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.078, allocations: 3.938 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.078, allocations: 1.156 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.078, allocations: 0.9844 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005474/1.079, allocations: 439.3 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.079, allocations: 9.188 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/1.079, allocations: 33.41 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/1.079, allocations: 18.55 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.565e-05/1.079, allocations: 171.6 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.079, allocations: 5.312 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/1.079, allocations: 12.41 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/1.079, allocations: 82.72 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.079, allocations: 7.875 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.079, allocations: 9.094 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.079, allocations: 3.359 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/1.08, allocations: 54.88 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/1.08, allocations: 383.8 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/1.08, allocations: 51.86 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/1.08, allocations: 35.64 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/1.08, allocations: 1 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/1.081, allocations: 84.42 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/1.081, allocations: 0 / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004375/1.081, allocations: 126.4 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/1.081, allocations: 60.56 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/1.081, allocations: 140.4 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.081, allocations: 28.39 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/1.081, allocations: 99.95 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/1.081, allocations: 16.06 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/1.081, allocations: 38.36 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/1.081, allocations: 318.3 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/1.081, allocations: 53.27 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.082, allocations: 84.61 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/1.082, allocations: 117.2 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.082, allocations: 0.8438 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004149/1.082, allocations: 195.2 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/1.082, allocations: 36.59 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.082, allocations: 0.75 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.082, allocations: 1.344 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/1.082, allocations: 17.61 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.082, allocations: 4.969 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/1.083, allocations: 40.27 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/1.083, allocations: 5.781 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 7.061e-05/1.083, allocations: 117.1 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/1.083, allocations: 15.14 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/1.083, allocations: 9.281 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.083, allocations: 1.188 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.083, allocations: 4.688 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.083, allocations: 0 / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/1.083, allocations: 197.8 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.083, allocations: 0 / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/1.083, allocations: 9.734 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.083, allocations: 0 / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.083, allocations: 1.062 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.083, allocations: 4.812 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.083, allocations: 3.938 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/1.083, allocations: 129.4 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/1.083, allocations: 82.59 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.083, allocations: 6.031 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/1.083, allocations: 13.06 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.083, allocations: 18.02 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/1.083, allocations: 3.562 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.914e-05/1.083, allocations: 95.28 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.083, allocations: 0 / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002274/1.084, allocations: 24.53 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004502/1.084, allocations: 0.6658 MB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003732/1.085, allocations: 150.3 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.085, allocations: 3.938 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.085, allocations: 34.19 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.085, allocations: 22.09 kB / 1.278 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/1.087, allocations: 1.611 MB / 1.28 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.087, allocations: 0.6916 MB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.964e-05/1.087, allocations: 5.422 kB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/1.087, allocations: 24.53 kB / 1.281 GB, free: 16.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.087, allocations: 0 / 1.281 GB, free: 16.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/1.113, allocations: 2.79 MB / 1.283 GB, free: 15.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.94, allocations: 11.22 kB / 1.283 GB, free: 15.89 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.33373680000659] Failed to read output from testmodel.py, exit status != 0: 9.008476963004796 9.031214263 7.948109331 Calling exit ...