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.001328/0.001328, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001426/0.001426, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.763/2.763, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 177] 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.001972/0.001972, allocations: 65.03 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 170 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003137/0.3128, allocations: 1.509 MB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3144, allocations: 0.7496 MB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.3144, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3145, allocations: 3.938 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.3145, allocations: 7.875 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.3151, allocations: 139.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3153, allocations: 87.69 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3154, allocations: 8.188 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3155, allocations: 35.92 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.3156, allocations: 35.83 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3156, allocations: 8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.3159, allocations: 143.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.3159, allocations: 15.94 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.316, allocations: 27.84 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.3163, allocations: 147.1 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3163, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3163, allocations: 4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3163, allocations: 0 / 1.287 GB, free: 7.816 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.0006293/0.3169, allocations: 381.2 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.317, allocations: 11.97 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.317, allocations: 4.188 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.317, allocations: 30.75 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.3173, allocations: 20.92 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3175, allocations: 126.4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3175, allocations: 12.38 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3175, allocations: 16.09 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3177, allocations: 65.66 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3177, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3179, allocations: 39.91 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.3184, allocations: 255.8 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3185, allocations: 50.56 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.3186, allocations: 36.89 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3187, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3189, allocations: 79.31 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.3189, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004959/0.3194, allocations: 137.6 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.3195, allocations: 55.47 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3196, allocations: 130.8 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.3197, allocations: 29.7 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.3198, allocations: 88.09 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3198, allocations: 23.83 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.3199, allocations: 25.72 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3201, allocations: 326.8 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.3202, allocations: 19.98 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3203, allocations: 69.06 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3205, allocations: 89.08 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3205, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002964/0.3208, allocations: 109.5 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3208, allocations: 8 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3208, allocations: 4.156 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3208, allocations: 4 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3209, allocations: 15.92 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3209, allocations: 4 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.321, allocations: 11.92 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.321, allocations: 4 kB / 1.289 GB, free: 5.324 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.0001167/0.3211, allocations: 121.5 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3211, allocations: 7.953 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3212, allocations: 4.375 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3212, allocations: 8 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3212, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3212, allocations: 7.875 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.3217, allocations: 349.5 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3217, allocations: 4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.3218, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3218, allocations: 4 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3218, allocations: 7.922 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3218, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3218, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3221, allocations: 211.8 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3221, allocations: 15.98 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3222, allocations: 7.922 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.3222, allocations: 7.938 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3223, allocations: 3.984 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3223, allocations: 4 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.482e-05/0.3224, allocations: 96.39 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3224, allocations: 4 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003615/0.3227, allocations: 35.92 kB / 1.29 GB, free: 4.367 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.001078/0.3238, allocations: 0.8144 MB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3241, allocations: 75.81 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3241, allocations: 320 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3242, allocations: 31.98 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3245, allocations: 15.98 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3264, allocations: 1.515 MB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.3265, allocations: 79.27 kB / 1.292 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.3265, allocations: 4 kB / 1.292 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3266, allocations: 23.42 kB / 1.292 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.3266, allocations: 0 / 1.292 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3533, allocations: 2.906 MB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.99, allocations: 10.73 kB / 1.295 GB, free: 14.93 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.680331435985863] Failed to read output from testmodel.py, exit status != 0: 12.694272181019187 12.178668577 11.858026581 Calling exit ...