Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003293, allocations: 19.97 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7258, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001469/0.7273, allocations: 1.184 MB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.7283, allocations: 0.6707 MB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.7283, allocations: 0 / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.7284, allocations: 5.219 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.7284, allocations: 9.297 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.7289, allocations: 98.62 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.729, allocations: 43.03 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.7291, allocations: 9.344 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.7292, allocations: 28.41 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.7292, allocations: 29.47 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.7293, allocations: 3.938 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.7294, allocations: 70.67 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.7294, allocations: 13.27 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.7295, allocations: 36.14 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.7296, allocations: 87.97 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.7296, allocations: 0 / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7297, allocations: 0 / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.7297, allocations: 1.438 kB / 0.9558 GB, free: 6.336 MB / 0.7169 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.0004635/0.7301, allocations: 437.5 kB / 0.9562 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7302, allocations: 14.25 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.7302, allocations: 39.98 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.7303, allocations: 10.8 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.544e-05/0.7304, allocations: 175.5 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.7304, allocations: 6.469 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.7304, allocations: 2.875 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.7306, allocations: 66.03 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7306, allocations: 1.156 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7306, allocations: 11.98 kB / 0.9566 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7306, allocations: 4.922 kB / 0.9566 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.7308, allocations: 38.7 kB / 0.9566 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.7312, allocations: 298 kB / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.7313, allocations: 50.56 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.7314, allocations: 1.344 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.7316, allocations: 88.2 kB / 0.957 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.7316, allocations: 4 kB / 0.957 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003867/0.732, allocations: 146.6 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.732, allocations: 52.69 kB / 0.9572 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.7321, allocations: 121.5 kB / 0.9573 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.7321, allocations: 31.2 kB / 0.9574 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.7322, allocations: 89.77 kB / 0.9574 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.7322, allocations: 14.66 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.7322, allocations: 10.53 kB / 0.9575 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.7323, allocations: 318.8 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.7323, allocations: 25.77 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.7324, allocations: 69.42 kB / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.7325, allocations: 31.27 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7325, allocations: 0 / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.7327, allocations: 121 kB / 0.958 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7328, allocations: 6.469 kB / 0.958 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7328, allocations: 5.047 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.7328, allocations: 2.531 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.7329, allocations: 14.52 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.7329, allocations: 6.188 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.733, allocations: 21.83 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.733, allocations: 3.219 kB / 0.9581 GB, free: 4.176 MB / 0.7169 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.7331, allocations: 115.7 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.7331, allocations: 7.406 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.7331, allocations: 9.594 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.7331, allocations: 9.078 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7331, allocations: 0 / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7331, allocations: 5.125 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.7335, allocations: 382.3 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7335, allocations: 3.984 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.7336, allocations: 4.781 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7336, allocations: 5.609 kB / 0.9586 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7336, allocations: 0 / 0.9586 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7336, allocations: 5.031 kB / 0.9586 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7336, allocations: 0 / 0.9586 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.7339, allocations: 217.5 kB / 0.9588 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.7339, allocations: 87.14 kB / 0.9589 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.7339, allocations: 8.984 kB / 0.9589 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.734, allocations: 16.27 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.7341, allocations: 2.188 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.7341, allocations: 6.109 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.7341, allocations: 96.23 kB / 0.959 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7341, allocations: 1.031 kB / 0.959 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002923/0.7344, allocations: 32.19 kB / 0.959 GB, free: 3.262 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006724/0.7351, allocations: 0.8124 MB / 0.9598 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.7353, allocations: 77.91 kB / 0.9599 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7354, allocations: 0 / 0.9599 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.7355, allocations: 38.56 kB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.7357, allocations: 9.172 kB / 0.9599 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.7363, allocations: 1.201 MB / 0.9611 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.7365, allocations: 0.6944 MB / 0.9618 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.7365, allocations: 3.75 kB / 0.9618 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.7365, allocations: 23.27 kB / 0.9618 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7365, allocations: 0 / 0.9618 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.7881, allocations: 2.296 MB / 0.9641 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7883, allocations: 237.4 kB / 0.9643 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.505, allocations: 0 / 0.9643 GB, free: 15.2 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat does not exist to compare? outputFormat=mat