Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001221/0.001221, allocations: 99.86 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.001543/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.372/2.372, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7538, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001498/0.7554, allocations: 1.189 MB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.7565, allocations: 0.6663 MB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.7565, allocations: 0 / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.7565, allocations: 7.922 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.7566, allocations: 14.81 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.7571, allocations: 89.67 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.7572, allocations: 39.42 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.7573, allocations: 13.17 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.7574, allocations: 32.97 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.7574, allocations: 33.75 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.7575, allocations: 2.969 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.7576, allocations: 66.08 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.7576, allocations: 15.36 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.7577, allocations: 35.7 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.7578, allocations: 87.69 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7579, allocations: 4 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7579, allocations: 0 / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.7579, allocations: 0 / 0.9558 GB, free: 6.328 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.0004902/0.7584, allocations: 439.3 kB / 0.9562 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7584, allocations: 10.03 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.7585, allocations: 34.56 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.7585, allocations: 11.7 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.7586, allocations: 182.8 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.7586, allocations: 6.312 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.7586, allocations: 8.656 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.7588, allocations: 65.97 kB / 0.9566 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7588, allocations: 0 / 0.9566 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.7589, allocations: 0.9688 kB / 0.9566 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.7589, allocations: 8.719 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.759, allocations: 45.28 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.7594, allocations: 302.7 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.7596, allocations: 46.78 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.7596, allocations: 9.031 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.7598, allocations: 80.08 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7598, allocations: 0 / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.7602, allocations: 151 kB / 0.9572 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.7602, allocations: 57.3 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.7603, allocations: 116.7 kB / 0.9573 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.7603, allocations: 26.89 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.7604, allocations: 94.81 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.7604, allocations: 14.11 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.7604, allocations: 5.219 kB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.7605, allocations: 321 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.7605, allocations: 27.48 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.7606, allocations: 67.33 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.7607, allocations: 38.48 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7607, allocations: 0 / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002016/0.7609, allocations: 121.7 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7609, allocations: 5.812 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.761, allocations: 5.203 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.761, allocations: 2.375 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.7611, allocations: 14.8 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7611, allocations: 6.5 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.7611, allocations: 9.188 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.7612, allocations: 4.688 kB / 0.9581 GB, free: 4.172 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.202e-05/0.7612, allocations: 132.1 kB / 0.9582 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.7613, allocations: 7.656 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.7613, allocations: 5.312 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7613, allocations: 5.359 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7613, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7613, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.7617, allocations: 387.5 kB / 0.9586 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7617, allocations: 0 / 0.9586 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.7617, allocations: 9.547 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7617, allocations: 7.891 kB / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7618, allocations: 3.531 kB / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7618, allocations: 0 / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7618, allocations: 0 / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.762, allocations: 211.5 kB / 0.9588 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.762, allocations: 86.67 kB / 0.9589 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.7621, allocations: 9.516 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.7622, allocations: 4.969 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.7622, allocations: 6.078 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7622, allocations: 6.25 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.7622, allocations: 99.8 kB / 0.959 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7623, allocations: 0 / 0.959 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003088/0.7626, allocations: 40.64 kB / 0.959 GB, free: 3.25 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.0006338/0.7632, allocations: 0.8006 MB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.7634, allocations: 73.73 kB / 0.9599 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7634, allocations: 4.312 kB / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.7635, allocations: 46.5 kB / 0.9599 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.7637, allocations: 15.25 kB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.7644, allocations: 1.19 MB / 0.9611 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7646, allocations: 0.6929 MB / 0.9618 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.7646, allocations: 8.297 kB / 0.9618 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.7647, allocations: 18.19 kB / 0.9618 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.7647, allocations: 4 kB / 0.9618 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.7774, allocations: 2.286 MB / 0.9641 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/0.7778, allocations: 244.3 kB / 0.9643 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.524, allocations: 2.391 kB / 0.9643 GB, free: 15.19 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat does not exist to compare? outputFormat=mat