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.001272/0.001272, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001358/0.001358, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.853/2.853, allocations: 476.7 MB / 0.7714 GB, free: 4.215 MB / 0.6231 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.002014/0.002014, allocations: 66.23 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003984/0.3774, allocations: 1.523 MB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3795, allocations: 0.8157 MB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.3796, allocations: 7.938 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.3796, allocations: 3.938 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3797, allocations: 15.86 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.3805, allocations: 131.6 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3807, allocations: 79.7 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3808, allocations: 8.188 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3809, allocations: 39.84 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.381, allocations: 35.84 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.3811, allocations: 8 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.3815, allocations: 143.7 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.3815, allocations: 15.97 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.3816, allocations: 35.81 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3819, allocations: 147.1 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3819, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3819, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3819, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 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.0008079/0.3827, allocations: 385.2 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3828, allocations: 8.031 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.3828, allocations: 4.188 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3828, allocations: 30.75 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.3832, allocations: 24.88 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.3835, allocations: 130.3 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.3835, allocations: 16.3 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3835, allocations: 16.06 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.3838, allocations: 69.66 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3838, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3838, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3838, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.384, allocations: 35.97 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.3846, allocations: 267.8 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3848, allocations: 50.55 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3849, allocations: 28.97 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3849, allocations: 4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3851, allocations: 75.44 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3851, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005514/0.3857, allocations: 145.5 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3857, allocations: 55.41 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3859, allocations: 123.1 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3859, allocations: 29.7 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.386, allocations: 96.08 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.386, allocations: 15.84 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.3861, allocations: 29.7 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3863, allocations: 326.8 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3864, allocations: 19.98 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3865, allocations: 65.06 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3868, allocations: 97 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3868, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004528/0.3872, allocations: 113.5 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3873, allocations: 8.156 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3873, allocations: 4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3873, allocations: 3.984 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3874, allocations: 15.94 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3874, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.3875, allocations: 11.92 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3875, allocations: 8 kB / 1.289 GB, free: 6.277 MB / 0.9825 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.0001368/0.3877, allocations: 117.8 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3877, allocations: 11.95 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3877, allocations: 12.38 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3877, allocations: 7.922 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.3885, allocations: 353.4 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3885, allocations: 0 / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.3885, allocations: 4 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3885, allocations: 4 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3885, allocations: 11.88 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3885, allocations: 0 / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.3886, allocations: 7.984 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.389, allocations: 199.5 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.3891, allocations: 7.953 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3891, allocations: 3.938 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3892, allocations: 11.98 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3893, allocations: 7.969 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3893, allocations: 7.938 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.3894, allocations: 97.27 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3894, allocations: 0 / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005023/0.3899, allocations: 35.94 kB / 1.29 GB, free: 5.316 MB / 0.9825 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.001172/0.3911, allocations: 0.7996 MB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3914, allocations: 72.38 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3914, allocations: 320 / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3915, allocations: 35.92 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.392, allocations: 12.03 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3949, allocations: 1.528 MB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.3954, allocations: 0.6885 MB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.3955, allocations: 7.984 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.3955, allocations: 19.44 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3956, allocations: 0 / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4266, allocations: 2.846 MB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 13.14 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.543358855007682] Failed to read output from testmodel.py, exit status != 0: 12.47393454198027 11.930194268 11.542875622 Calling exit ...