Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.0008233/0.0008235, 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.0008659/0.0008658, 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.387 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.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7617, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00141/0.7631, allocations: 1.18 MB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.7641, allocations: 0.6733 MB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.7641, allocations: 1.438 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.7642, allocations: 3.938 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.7642, allocations: 9.609 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.7647, allocations: 100.2 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.7648, allocations: 69.92 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.7649, allocations: 5.969 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.765, allocations: 28.67 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.765, allocations: 35.94 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.765, allocations: 3.25 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.7652, allocations: 89.19 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.7652, allocations: 18.33 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.7653, allocations: 34.23 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.7654, allocations: 100.2 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7655, allocations: 0 / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7655, allocations: 1.25 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.7655, allocations: 0 / 0.9561 GB, free: 6.344 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.0004872/0.766, allocations: 409.7 kB / 0.9565 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.766, allocations: 13.41 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.766, allocations: 35.66 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.7661, allocations: 19.33 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.7662, allocations: 167.8 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.7662, allocations: 5.328 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.7662, allocations: 8.25 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.7664, allocations: 66.47 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7664, allocations: 0 / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7664, allocations: 1 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7664, allocations: 8.953 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.7666, allocations: 42.47 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.7671, allocations: 329.2 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.7672, allocations: 47.69 kB / 0.9572 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.7673, allocations: 34.22 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.7673, allocations: 1.375 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.7675, allocations: 91.41 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7675, allocations: 0 / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003519/0.7678, allocations: 148.5 kB / 0.9575 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.7679, allocations: 64.58 kB / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.7679, allocations: 116.7 kB / 0.9577 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.7679, allocations: 29.27 kB / 0.9577 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.768, allocations: 92.31 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.768, allocations: 13.38 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.768, allocations: 4 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.7681, allocations: 314.8 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.7681, allocations: 32.95 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.7682, allocations: 51.22 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.7683, allocations: 36.27 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7683, allocations: 0 / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002151/0.7685, allocations: 122.3 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7686, allocations: 8.641 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7686, allocations: 1.5 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7686, allocations: 5.297 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.7687, allocations: 13.11 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7687, allocations: 1.688 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.7688, allocations: 16.12 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.7688, allocations: 7.984 kB / 0.9584 GB, free: 4.211 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 6.302e-05/0.7689, allocations: 121.6 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.7689, allocations: 8.312 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.7689, allocations: 13.83 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7689, allocations: 0 / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7689, allocations: 1.438 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7689, allocations: 0 / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.7693, allocations: 384.1 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.7693, allocations: 0 / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.7693, allocations: 12.09 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7693, allocations: 1.344 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7693, allocations: 9.281 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7693, allocations: 0 / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7694, allocations: 4 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.7696, allocations: 211.4 kB / 0.9591 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.7696, allocations: 82.39 kB / 0.9592 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.7696, allocations: 5.328 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.7697, allocations: 16.12 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.7698, allocations: 6.734 kB / 0.9592 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.7698, allocations: 2.75 kB / 0.9592 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.7698, allocations: 92.05 kB / 0.9593 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7698, allocations: 0 / 0.9593 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002927/0.7701, allocations: 49.2 kB / 0.9594 GB, free: 3.293 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.0007014/0.7708, allocations: 0.8055 MB / 0.9602 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.7711, allocations: 81.98 kB / 0.9602 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7711, allocations: 0 / 0.9602 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.7712, allocations: 34.92 kB / 0.9603 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.7715, allocations: 16.59 kB / 0.9603 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.7724, allocations: 0.6058 MB / 0.9609 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.7726, allocations: 0.6879 MB / 0.9615 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.7726, allocations: 12.22 kB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.7727, allocations: 18.38 kB / 0.9616 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/0.7727, allocations: 0 / 0.9616 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.7847, allocations: 2.332 MB / 0.9639 GB, free: 196 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.785, allocations: 255.2 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.679, allocations: 1.062 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat does not exist to compare? outputFormat=mat