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.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.001249/0.001249, allocations: 121.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001329/0.001329, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 64.19 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003084/1.029, allocations: 1.517 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001563/1.03, allocations: 0.8102 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/1.03, allocations: 0.9688 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/1.03, allocations: 4.734 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/1.03, allocations: 15.17 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/1.031, allocations: 134 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000133/1.031, allocations: 66.11 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/1.031, allocations: 10.41 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/1.031, allocations: 46.39 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/1.031, allocations: 29.05 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/1.031, allocations: 6.25 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/1.032, allocations: 112.9 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/1.032, allocations: 18.22 kB / 1.282 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/1.032, allocations: 32.02 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/1.032, allocations: 154.5 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.032, allocations: 0.5 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/1.032, allocations: 0 / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.65e-06/1.032, allocations: 0.5 kB / 1.282 GB, free: 9.855 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.000759/1.033, allocations: 456.2 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.033, allocations: 9.906 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/1.033, allocations: 1.188 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/1.033, allocations: 37.8 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/1.033, allocations: 23.2 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/1.034, allocations: 184.9 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/1.034, allocations: 3 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/1.034, allocations: 16.55 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/1.034, allocations: 68.45 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.034, allocations: 0.5 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.034, allocations: 5.266 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.034, allocations: 1.031 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/1.034, allocations: 35.39 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/1.034, allocations: 304.1 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/1.035, allocations: 39.95 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/1.035, allocations: 30.2 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.035, allocations: 5.938 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/1.035, allocations: 81.12 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/1.035, allocations: 3.938 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000468/1.035, allocations: 137 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.035, allocations: 53.41 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.036, allocations: 126.5 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.036, allocations: 26.73 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/1.036, allocations: 93.03 kB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/1.036, allocations: 20 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/1.036, allocations: 32.09 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.036, allocations: 323.1 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/1.036, allocations: 25.36 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/1.036, allocations: 60.12 kB / 1.284 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/1.036, allocations: 86.66 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.036, allocations: 0 / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002471/1.037, allocations: 121.2 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.037, allocations: 5.875 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.037, allocations: 2.125 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.037, allocations: 5.344 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/1.037, allocations: 17.08 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.037, allocations: 2.531 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/1.037, allocations: 14.45 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.037, allocations: 3.531 kB / 1.284 GB, free: 7.73 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 0.0001018/1.037, allocations: 125.2 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/1.037, allocations: 6.828 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/1.037, allocations: 7.219 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.037, allocations: 1.125 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.037, allocations: 0 / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.037, allocations: 5.438 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/1.037, allocations: 382.3 kB / 1.285 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.037, allocations: 11.88 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/1.037, allocations: 4.828 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.037, allocations: 1.969 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.037, allocations: 6.672 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.038, allocations: 0 / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.038, allocations: 1.922 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/1.038, allocations: 205.8 kB / 1.285 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/1.038, allocations: 89.02 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/1.038, allocations: 8.453 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/1.038, allocations: 4.875 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/1.038, allocations: 4.484 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/1.038, allocations: 4.141 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.313e-05/1.038, allocations: 94.77 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.038, allocations: 0 / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003589/1.038, allocations: 41.72 kB / 1.285 GB, free: 6.879 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.0009789/1.039, allocations: 0.8128 MB / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00026/1.04, allocations: 76.09 kB / 1.286 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.04, allocations: 5.219 kB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/1.04, allocations: 26.61 kB / 1.286 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/1.04, allocations: 11.66 kB / 1.286 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/1.042, allocations: 1.534 MB / 1.288 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.042, allocations: 0.6878 MB / 1.288 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.806e-05/1.042, allocations: 11.94 kB / 1.288 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/1.042, allocations: 22.25 kB / 1.288 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.042, allocations: 0 / 1.288 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/1.063, allocations: 2.716 MB / 1.291 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.647, allocations: 15.02 kB / 1.291 GB, free: 3.508 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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: 16.020884902973194] Failed to read output from testmodel.py, exit status != 0: 9.798025769006927 9.823362951 8.786269683 Calling exit ...