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.001068/0.001068, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001169/0.00117, allocations: 172.7 kB / 15.95 MB, free: 192 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.312 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.577/2.577, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.796, allocations: 142.3 MB / 0.9538 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001798/0.7978, allocations: 1.187 MB / 0.955 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7991, allocations: 0.6612 MB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.7991, allocations: 9.094 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.7992, allocations: 3.984 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.7993, allocations: 13.33 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.7998, allocations: 92.67 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.8, allocations: 64.09 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.8001, allocations: 9.594 kB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.8002, allocations: 32.97 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.8002, allocations: 25.06 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.8003, allocations: 3.5 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.8005, allocations: 87.59 kB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.8005, allocations: 15.11 kB / 0.956 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.8005, allocations: 31.67 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.8007, allocations: 103.7 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8007, allocations: 0 / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8007, allocations: 1.406 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8008, allocations: 0 / 0.9561 GB, free: 6.316 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.0005232/0.8013, allocations: 439.6 kB / 0.9565 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8013, allocations: 8.906 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.8014, allocations: 41.23 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.8014, allocations: 10.67 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.8015, allocations: 170.3 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.8016, allocations: 3.625 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.8016, allocations: 3.531 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.8018, allocations: 81.62 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.8018, allocations: 1 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8018, allocations: 3.984 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8018, allocations: 5.047 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.802, allocations: 42.16 kB / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.8024, allocations: 297.5 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.8026, allocations: 56.14 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.8027, allocations: 33.84 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.8027, allocations: 9.375 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.803, allocations: 83.05 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.803, allocations: 1.062 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004279/0.8034, allocations: 146.6 kB / 0.9575 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.8035, allocations: 61.88 kB / 0.9576 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.8036, allocations: 119.5 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.8036, allocations: 26.92 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.8036, allocations: 91.52 kB / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.8036, allocations: 18.06 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.8037, allocations: 5.094 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.8037, allocations: 312 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.8038, allocations: 31.7 kB / 0.9581 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.8039, allocations: 64.44 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.804, allocations: 35.2 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.804, allocations: 0 / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.8042, allocations: 122 kB / 0.9583 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8043, allocations: 9.297 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8043, allocations: 3.062 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.8043, allocations: 3.75 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.8044, allocations: 11.59 kB / 0.9584 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8044, allocations: 6.484 kB / 0.9584 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.8045, allocations: 9.688 kB / 0.9584 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.8045, allocations: 3.188 kB / 0.9584 GB, free: 4.145 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 6.99e-05/0.8046, allocations: 128.6 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.8046, allocations: 7.219 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.8046, allocations: 18.44 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8046, allocations: 1.062 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8046, allocations: 0 / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8046, allocations: 0 / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.805, allocations: 386.8 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.805, allocations: 1.188 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.8051, allocations: 11.48 kB / 0.9589 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8051, allocations: 1.062 kB / 0.9589 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8051, allocations: 5.266 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8051, allocations: 0 / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8051, allocations: 1 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.8054, allocations: 210 kB / 0.9591 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.8054, allocations: 90.81 kB / 0.9592 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.8054, allocations: 5.922 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.8055, allocations: 7.969 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.8056, allocations: 5.922 kB / 0.9592 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.8056, allocations: 5.656 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.8056, allocations: 101 kB / 0.9593 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8056, allocations: 0 / 0.9593 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003318/0.806, allocations: 35.62 kB / 0.9594 GB, free: 3.223 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.0007189/0.8067, allocations: 0.8076 MB / 0.9602 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.8069, allocations: 73.95 kB / 0.9602 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8069, allocations: 4.312 kB / 0.9602 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.807, allocations: 39.39 kB / 0.9603 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.8073, allocations: 18.23 kB / 0.9603 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.8083, allocations: 0.6044 MB / 0.9609 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.8084, allocations: 0.69 MB / 0.9615 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.8085, allocations: 2.938 kB / 0.9616 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.8085, allocations: 22.17 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.8085, allocations: 1.375 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.8218, allocations: 2.308 MB / 0.9638 GB, free: 96 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.8221, allocations: 244.7 kB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.538, allocations: 0 / 0.9641 GB, free: 15.86 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