Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.001512/0.001512, 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.001454/0.001454, 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.312 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.782/2.782, allocations: 476.7 MB / 0.7629 GB, free: 15.22 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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 71.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9748/0.9772, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002835/0.98, allocations: 1.512 MB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.9812, allocations: 0.7455 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.9813, allocations: 3.938 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.9813, allocations: 9.047 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.9813, allocations: 11.61 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.9819, allocations: 119.4 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.982, allocations: 65.03 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.9821, allocations: 14.42 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.9822, allocations: 39.02 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.9822, allocations: 29.53 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.9822, allocations: 5.531 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.9824, allocations: 105.2 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.9825, allocations: 17.08 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.9825, allocations: 31.97 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.9827, allocations: 135.8 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9827, allocations: 2.453 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9827, allocations: 4 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9827, allocations: 1.094 kB / 1.274 GB, free: 5.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004979/0.9832, allocations: 445.4 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9833, allocations: 9.406 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.9833, allocations: 34.52 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.9833, allocations: 8.641 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.847e-05/0.9834, allocations: 176.8 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.9834, allocations: 7.906 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.9835, allocations: 11.38 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.9836, allocations: 69.11 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9836, allocations: 0 / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9837, allocations: 4.094 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9837, allocations: 0.9062 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.9838, allocations: 39.58 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.9842, allocations: 301.8 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.9843, allocations: 43.28 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.9844, allocations: 27.38 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.9844, allocations: 6 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.9846, allocations: 83.16 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.9846, allocations: 4.906 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.985, allocations: 136.6 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.9851, allocations: 58.81 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.9851, allocations: 125.7 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.9851, allocations: 29.17 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.9852, allocations: 90.72 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.9852, allocations: 16.03 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.9852, allocations: 33.84 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.9853, allocations: 322.5 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.9854, allocations: 20.83 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.9854, allocations: 59.33 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.9856, allocations: 94.67 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9856, allocations: 0.75 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003168/0.9859, allocations: 116.8 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9859, allocations: 6.25 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9859, allocations: 5.438 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9859, allocations: 1.719 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.986, allocations: 13.73 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.9861, allocations: 5.906 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.9861, allocations: 9.484 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9861, allocations: 4.219 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.397e-05/0.9862, allocations: 135 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.9862, allocations: 7.734 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.9862, allocations: 6.594 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9862, allocations: 1.062 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9862, allocations: 1.156 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9862, allocations: 0 / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.9868, allocations: 385.3 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9868, allocations: 4.656 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.9868, allocations: 7.344 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9868, allocations: 0.5 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.9869, allocations: 0.7188 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9869, allocations: 4.906 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9869, allocations: 0.875 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.9873, allocations: 201.6 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.9873, allocations: 88.05 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.9873, allocations: 6.531 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.9875, allocations: 8.516 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.9875, allocations: 4.609 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.9875, allocations: 3.094 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.9876, allocations: 95.27 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9876, allocations: 1.062 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005324/0.9881, allocations: 38.12 kB / 1.278 GB, free: 2.945 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0009125/0.989, allocations: 0.8058 MB / 1.278 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.9894, allocations: 73.69 kB / 1.278 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9894, allocations: 4.812 kB / 1.278 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.9895, allocations: 36.27 kB / 1.278 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.9899, allocations: 13.25 kB / 1.278 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.992, allocations: 1.527 MB / 1.28 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.9925, allocations: 0.6853 MB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.9926, allocations: 5.812 kB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.9926, allocations: 20.45 kB / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.9926, allocations: 0 / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/1.025, allocations: 2.644 MB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.473, allocations: 9.203 kB / 1.283 GB, free: 15.59 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_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_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.53748945100233] Failed to read output from testmodel.py, exit status != 0: 9.544642323016888 9.567877046 8.578758171 Calling exit ...