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.0009437/0.0009437, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009094/0.0009094, allocations: 177.3 kB / 15.94 MB, free: 228 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.511/1.511, allocations: 223.2 MB / 239.9 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.582/2.582, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8393, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001498/0.8408, allocations: 1.173 MB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.8419, allocations: 0.682 MB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.842, allocations: 1.562 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.842, allocations: 3.938 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.8421, allocations: 10.33 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.8425, allocations: 86.27 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.8426, allocations: 55.48 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.8427, allocations: 5.125 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.8428, allocations: 40.95 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.8429, allocations: 27.62 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.8429, allocations: 4.094 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.8431, allocations: 70.33 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.8431, allocations: 10.27 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.8431, allocations: 39.2 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.8433, allocations: 103.7 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.8433, allocations: 0 / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8433, allocations: 1.031 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.8433, allocations: 0 / 0.9558 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.0004998/0.8438, allocations: 412 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8439, allocations: 9.219 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.8439, allocations: 31.44 kB / 0.9563 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.8439, allocations: 11.86 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.844, allocations: 174.6 kB / 0.9564 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.8441, allocations: 6.375 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.8441, allocations: 3.594 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.8443, allocations: 74.72 kB / 0.9565 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8443, allocations: 0 / 0.9565 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.8443, allocations: 1.406 kB / 0.9565 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8443, allocations: 9.125 kB / 0.9565 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.8444, allocations: 45.12 kB / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.845, allocations: 322.2 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.8451, allocations: 54.69 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.8451, allocations: 1.156 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.8453, allocations: 79.67 kB / 0.957 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.8453, allocations: 0 / 0.957 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003875/0.8457, allocations: 156 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.8458, allocations: 58.06 kB / 0.9572 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.8459, allocations: 119.9 kB / 0.9573 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.8459, allocations: 30.77 kB / 0.9574 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.8459, allocations: 91.92 kB / 0.9574 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.8459, allocations: 21.89 kB / 0.9575 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.846, allocations: 1.469 kB / 0.9575 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.846, allocations: 320.2 kB / 0.9578 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.8461, allocations: 33.58 kB / 0.9578 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.8462, allocations: 49.78 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.8463, allocations: 35.45 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8463, allocations: 1.469 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002092/0.8465, allocations: 117.1 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8465, allocations: 5.219 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8465, allocations: 8.766 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8466, allocations: 2.094 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.8467, allocations: 16.83 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.8467, allocations: 0.9062 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.8467, allocations: 9.469 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.8468, allocations: 7.047 kB / 0.9581 GB, free: 4.207 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.358e-05/0.8468, allocations: 118.7 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.8469, allocations: 10.97 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.8469, allocations: 6.406 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8469, allocations: 5.016 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8469, allocations: 0 / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.8469, allocations: 0.875 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.8473, allocations: 388.4 kB / 0.9586 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8473, allocations: 4 kB / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.8473, allocations: 8.734 kB / 0.9586 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8474, allocations: 3.953 kB / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.8474, allocations: 1.75 kB / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8474, allocations: 0 / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8474, allocations: 1.156 kB / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.8476, allocations: 218.2 kB / 0.9588 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.8477, allocations: 84.64 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.8477, allocations: 3.953 kB / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.8478, allocations: 9.297 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.8478, allocations: 1.812 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.8478, allocations: 1.781 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.8479, allocations: 100.4 kB / 0.959 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8479, allocations: 4 kB / 0.959 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002978/0.8482, allocations: 44.7 kB / 0.959 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.0006234/0.8488, allocations: 0.8208 MB / 0.9598 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.849, allocations: 69.61 kB / 0.9599 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8491, allocations: 5.125 kB / 0.9599 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/0.8492, allocations: 42.2 kB / 0.9599 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.8493, allocations: 11.88 kB / 0.9599 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.8499, allocations: 0.7169 MB / 0.9606 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.8501, allocations: 0.6906 MB / 0.9613 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.8501, allocations: 15.61 kB / 0.9613 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.8502, allocations: 17.84 kB / 0.9614 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8502, allocations: 1.188 kB / 0.9614 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.8618, allocations: 2.311 MB / 0.9636 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.862, allocations: 235.9 kB / 0.9638 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.572, allocations: 0 / 0.9638 GB, free: 15.73 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