Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.0007497/0.0007499, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0007945/0.0007945, allocations: 168.7 kB / 15.95 MB, free: 200 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.489/1.489, allocations: 223.2 MB / 240 MB, free: 5.43 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.459/2.459, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 16 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9046, allocations: 142.3 MB / 0.9538 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00171/0.9064, allocations: 1.205 MB / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.9076, allocations: 0.6695 MB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.9076, allocations: 1.188 kB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.9077, allocations: 3.938 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.9077, allocations: 17 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.9083, allocations: 100.8 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.9084, allocations: 65.44 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.9085, allocations: 13.22 kB / 0.9559 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.9086, allocations: 25.27 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.9087, allocations: 35.42 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.9087, allocations: 2.906 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.9089, allocations: 89.06 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.9089, allocations: 15.45 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.9089, allocations: 38.77 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.9091, allocations: 99.62 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9091, allocations: 4 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9092, allocations: 0 / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9092, allocations: 0 / 0.9562 GB, free: 6.352 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.0005719/0.9097, allocations: 406 kB / 0.9566 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.9098, allocations: 14.09 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.9098, allocations: 31.94 kB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.9099, allocations: 14.66 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.91, allocations: 174.5 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.91, allocations: 7.531 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.91, allocations: 3.094 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.9103, allocations: 70.16 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9103, allocations: 1.562 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9103, allocations: 4 kB / 0.9569 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.9103, allocations: 4.797 kB / 0.9569 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.9104, allocations: 42.06 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.911, allocations: 329.8 kB / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.9111, allocations: 51.7 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.9112, allocations: 33.62 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.9112, allocations: 1.125 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.9114, allocations: 87.64 kB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.9114, allocations: 0 / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004463/0.9119, allocations: 152.5 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9119, allocations: 57.62 kB / 0.9576 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.9121, allocations: 120.3 kB / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.9121, allocations: 30.77 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.9121, allocations: 86.77 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.9122, allocations: 19.27 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.9122, allocations: 0 / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.9122, allocations: 317.2 kB / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.9123, allocations: 33.14 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.9124, allocations: 52.77 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.9125, allocations: 33.17 kB / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9125, allocations: 3.938 kB / 0.9583 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002089/0.9127, allocations: 122.4 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9128, allocations: 9.297 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9128, allocations: 1.312 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9128, allocations: 1.344 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.9129, allocations: 8.781 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.9129, allocations: 5.203 kB / 0.9584 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.913, allocations: 13.53 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.913, allocations: 7.75 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.741e-05/0.9131, allocations: 118.1 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.9131, allocations: 7.844 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.9131, allocations: 17.34 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.9132, allocations: 1.156 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9132, allocations: 0 / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.9132, allocations: 5.312 kB / 0.9586 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.9136, allocations: 383.8 kB / 0.9589 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9136, allocations: 0 / 0.9589 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.9136, allocations: 8.453 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.9136, allocations: 1.312 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.9136, allocations: 3.984 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9137, allocations: 5.312 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9137, allocations: 3.938 kB / 0.9589 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.9139, allocations: 215.6 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.914, allocations: 82.39 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.914, allocations: 9.344 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.9141, allocations: 8.125 kB / 0.9592 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.9141, allocations: 10.62 kB / 0.9593 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.9142, allocations: 2.562 kB / 0.9593 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.9142, allocations: 96.05 kB / 0.9594 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9142, allocations: 0 / 0.9594 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003357/0.9146, allocations: 35.69 kB / 0.9594 GB, free: 3.312 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0008248/0.9154, allocations: 0.819 MB / 0.9602 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.9157, allocations: 78.8 kB / 0.9603 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9157, allocations: 4 kB / 0.9603 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.9158, allocations: 34.64 kB / 0.9603 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.916, allocations: 9.078 kB / 0.9603 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.917, allocations: 0.6001 MB / 0.9609 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.9172, allocations: 0.6878 MB / 0.9616 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.9172, allocations: 8.25 kB / 0.9616 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.9173, allocations: 22.17 kB / 0.9616 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.9173, allocations: 1.375 kB / 0.9616 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.9327, allocations: 2.319 MB / 0.9639 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.933, allocations: 244.8 kB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.727, allocations: 4 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat does not exist to compare? outputFormat=mat