Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001105/0.001105, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 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.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.336 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.472/2.472, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005034, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9282, allocations: 142.3 MB / 0.9538 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001487/0.9298, allocations: 1.203 MB / 0.955 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.9307, allocations: 0.6727 MB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.9307, allocations: 1.188 kB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.9308, allocations: 3.938 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.9308, allocations: 9.109 kB / 0.9557 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.9312, allocations: 96.73 kB / 0.9558 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.9313, allocations: 69.92 kB / 0.9559 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.008e-05/0.9314, allocations: 12.78 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.9315, allocations: 38.2 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.9315, allocations: 31.41 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.9315, allocations: 2.906 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.9317, allocations: 84.97 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.9317, allocations: 14.83 kB / 0.956 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.9318, allocations: 35.05 kB / 0.9561 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.9319, allocations: 99.44 kB / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9319, allocations: 0 / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9319, allocations: 4 kB / 0.9562 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.9319, allocations: 1.375 kB / 0.9562 GB, free: 6.219 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.0004333/0.9324, allocations: 409 kB / 0.9566 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.9324, allocations: 8.969 kB / 0.9566 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.9324, allocations: 31.88 kB / 0.9566 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.9325, allocations: 16.58 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.9326, allocations: 166.4 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.9326, allocations: 14.81 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.9326, allocations: 2.688 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.9328, allocations: 67.22 kB / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.9328, allocations: 0 / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.9328, allocations: 5.188 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9328, allocations: 5.109 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.9329, allocations: 53.27 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.9334, allocations: 316.5 kB / 0.9572 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9335, allocations: 54.22 kB / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.9336, allocations: 34.69 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.9336, allocations: 7.797 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.9338, allocations: 80.62 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.9338, allocations: 1.312 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00034/0.9341, allocations: 155.8 kB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.9342, allocations: 53.53 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.9342, allocations: 115.6 kB / 0.9577 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.9343, allocations: 32.02 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.9343, allocations: 94.62 kB / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.9343, allocations: 10.22 kB / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.9343, allocations: 5.219 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.9344, allocations: 320 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.9345, allocations: 24.86 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.9345, allocations: 64 kB / 0.9582 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/0.9346, allocations: 32.22 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9346, allocations: 0 / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002129/0.9349, allocations: 127.3 kB / 0.9584 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9349, allocations: 8.266 kB / 0.9584 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9349, allocations: 1.281 kB / 0.9584 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9349, allocations: 2.344 kB / 0.9584 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.935, allocations: 17.02 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.935, allocations: 1.312 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.9351, allocations: 13.92 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.9351, allocations: 7.984 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 6.064e-05/0.9352, allocations: 121.9 kB / 0.9585 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.9352, allocations: 7.812 kB / 0.9585 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.9352, allocations: 13.55 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9352, allocations: 1.25 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9352, allocations: 0 / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9352, allocations: 1.219 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.9356, allocations: 391.7 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9356, allocations: 0 / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.9356, allocations: 12.84 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9356, allocations: 3.938 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9356, allocations: 1.406 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9356, allocations: 0 / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9357, allocations: 1 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.9359, allocations: 219.5 kB / 0.9592 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.9359, allocations: 86.19 kB / 0.9592 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9359, allocations: 5.516 kB / 0.9592 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.936, allocations: 4.625 kB / 0.9592 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.9361, allocations: 5.766 kB / 0.9593 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.9361, allocations: 3.375 kB / 0.9593 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.9361, allocations: 100.2 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9361, allocations: 0 / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002742/0.9364, allocations: 40.78 kB / 0.9594 GB, free: 3.164 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,occ.y,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.0005876/0.937, allocations: 0.8119 MB / 0.9602 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.9372, allocations: 73.7 kB / 0.9603 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9372, allocations: 1.875 kB / 0.9603 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.9373, allocations: 45.45 kB / 0.9603 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.9375, allocations: 11.52 kB / 0.9603 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.9383, allocations: 0.5956 MB / 0.9609 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.9385, allocations: 0.69 MB / 0.9616 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.9385, allocations: 12.38 kB / 0.9616 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.9385, allocations: 18.73 kB / 0.9616 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9385, allocations: 0 / 0.9616 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.9527, allocations: 2.326 MB / 0.9639 GB, free: 44 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.953, allocations: 241.7 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.763, allocations: 1.312 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat