Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.0009552/0.0009552, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001162/0.001162, allocations: 168.7 kB / 15.95 MB, free: 204 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.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.418 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.461/2.461, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8675, allocations: 142.3 MB / 0.9538 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001427/0.869, allocations: 1.177 MB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.8701, allocations: 0.6887 MB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.8701, allocations: 1.125 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.8701, allocations: 0 / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.8702, allocations: 12.86 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.8706, allocations: 101.3 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.8707, allocations: 62.09 kB / 0.9558 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.8708, allocations: 16.27 kB / 0.9559 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.8709, allocations: 29.38 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.871, allocations: 27.59 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.871, allocations: 3.594 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.8712, allocations: 88.84 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.8712, allocations: 18.44 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.8713, allocations: 35.05 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.8714, allocations: 92.67 kB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8714, allocations: 0 / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8714, allocations: 0 / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8715, allocations: 4 kB / 0.9561 GB, free: 6.363 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.0005309/0.872, allocations: 414.6 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.872, allocations: 8.594 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.8721, allocations: 35.81 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.8721, allocations: 16.11 kB / 0.9566 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.8722, allocations: 174.2 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.8723, allocations: 7.375 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.8723, allocations: 7.344 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8725, allocations: 66.12 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8725, allocations: 1 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.8725, allocations: 0 / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8725, allocations: 5.047 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.8727, allocations: 49.8 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.8733, allocations: 322 kB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.8734, allocations: 59.52 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.8735, allocations: 33.56 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.8735, allocations: 1.438 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.8738, allocations: 80.17 kB / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.8738, allocations: 0 / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004177/0.8742, allocations: 156.6 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8742, allocations: 53.53 kB / 0.9576 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.8743, allocations: 120 kB / 0.9577 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.8744, allocations: 34.3 kB / 0.9577 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.8744, allocations: 87.08 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.8744, allocations: 18.41 kB / 0.9578 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.8744, allocations: 1.531 kB / 0.9578 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.8745, allocations: 320.2 kB / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.8746, allocations: 25.67 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.8747, allocations: 54.48 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.8748, allocations: 40.11 kB / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8748, allocations: 0 / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.875, allocations: 113.2 kB / 0.9583 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.875, allocations: 13.36 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8751, allocations: 9.172 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8751, allocations: 1.469 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.8752, allocations: 12.88 kB / 0.9584 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8752, allocations: 2.5 kB / 0.9584 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.8753, allocations: 12.3 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.8753, allocations: 4.125 kB / 0.9584 GB, free: 4.23 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 8.155e-05/0.8754, allocations: 114.2 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.8754, allocations: 10.38 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.8754, allocations: 18.09 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.8754, allocations: 1.344 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8755, allocations: 3.938 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8755, allocations: 1.094 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.8759, allocations: 388.9 kB / 0.9589 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8759, allocations: 4 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.8759, allocations: 7.516 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8759, allocations: 1.812 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8759, allocations: 0 / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.876, allocations: 5.891 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.876, allocations: 0 / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.8762, allocations: 209.5 kB / 0.9591 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.8762, allocations: 83.61 kB / 0.9592 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.8762, allocations: 13.11 kB / 0.9592 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.8763, allocations: 7.766 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.8764, allocations: 3.625 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.8764, allocations: 5.359 kB / 0.9592 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.8764, allocations: 93.55 kB / 0.9593 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8764, allocations: 4 kB / 0.9593 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003054/0.8767, allocations: 43.38 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.0006104/0.8774, allocations: 0.8174 MB / 0.9602 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.8776, allocations: 74.64 kB / 0.9602 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8776, allocations: 0 / 0.9602 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8777, allocations: 42.97 kB / 0.9603 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.878, allocations: 13.08 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.001021/0.879, allocations: 0.5957 MB / 0.9609 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.8792, allocations: 0.6954 MB / 0.9615 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.8792, allocations: 4.188 kB / 0.9616 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.8793, allocations: 23.2 kB / 0.9616 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8793, allocations: 0 / 0.9616 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.8922, allocations: 2.334 MB / 0.9639 GB, free: 212 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.8924, allocations: 255 kB / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.619, allocations: 0 / 0.9641 GB, free: 15.92 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat does not exist to compare? outputFormat=mat