Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 177.2 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 0.7948 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 99.42 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8.125 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4152, allocations: 151.2 MB / 1.371 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4155, allocations: 83.95 kB / 1.371 GB, free: 2.031 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009214/0.4247, allocations: 3.042 MB / 1.374 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4247, allocations: 0 / 1.374 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.4247, allocations: 0 / 1.374 GB, free: 14.98 MB / 0.8855 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.0006534/0.4254, allocations: 432.7 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4255, allocations: 8.031 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/0.4255, allocations: 38.55 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.4256, allocations: 15.8 kB / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.4258, allocations: 163.1 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.4258, allocations: 8 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4258, allocations: 4 kB / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.426, allocations: 69.66 kB / 1.374 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4261, allocations: 0 / 1.374 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4261, allocations: 3.938 kB / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4261, allocations: 0 / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4262, allocations: 47.97 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.4269, allocations: 316.7 kB / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4271, allocations: 58.55 kB / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4271, allocations: 0 / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.4273, allocations: 83.56 kB / 1.375 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4273, allocations: 0 / 1.375 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.4277, allocations: 149.6 kB / 1.375 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4278, allocations: 55.47 kB / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4279, allocations: 116.8 kB / 1.375 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.4279, allocations: 29.7 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.428, allocations: 96.31 kB / 1.375 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.428, allocations: 15.75 kB / 1.375 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.428, allocations: 4 kB / 1.375 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4282, allocations: 322.8 kB / 1.376 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.4283, allocations: 31.92 kB / 1.376 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.4284, allocations: 50.55 kB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.356e-05/0.4285, allocations: 39.98 kB / 1.376 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4285, allocations: 0 / 1.376 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000259/0.4288, allocations: 117.8 kB / 1.376 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4288, allocations: 8.688 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4288, allocations: 4 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4288, allocations: 0 / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.4289, allocations: 11.98 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4289, allocations: 7.953 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.429, allocations: 8 kB / 1.376 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4291, allocations: 11.92 kB / 1.376 GB, free: 12.46 MB / 0.8855 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 (occ.y,$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 0.0001031/0.4292, allocations: 117.8 kB / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.4292, allocations: 11.91 kB / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.4292, allocations: 8.375 kB / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4292, allocations: 0 / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4292, allocations: 0 / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4293, allocations: 11.89 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.4297, allocations: 382.5 kB / 1.376 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4297, allocations: 0 / 1.376 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.4298, allocations: 15.92 kB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4298, allocations: 0 / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4298, allocations: 4 kB / 1.376 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4298, allocations: 3.953 kB / 1.376 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4298, allocations: 0 / 1.376 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.4301, allocations: 219.4 kB / 1.377 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.4302, allocations: 81.02 kB / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.4302, allocations: 0 / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.4303, allocations: 11.98 kB / 1.377 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4304, allocations: 11.89 kB / 1.377 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4304, allocations: 4 kB / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.4304, allocations: 91.27 kB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4305, allocations: 4 kB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003331/0.4308, allocations: 55.86 kB / 1.377 GB, free: 11.34 MB / 0.8855 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.0009163/0.4317, allocations: 0.8072 MB / 1.378 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.432, allocations: 75.91 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.432, allocations: 3.938 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4321, allocations: 52.48 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4323, allocations: 11.89 kB / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.4333, allocations: 0.7227 MB / 1.378 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4337, allocations: 0.6926 MB / 1.379 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.4337, allocations: 16.14 kB / 1.379 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4338, allocations: 19.44 kB / 1.379 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.4338, allocations: 0 / 1.379 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.4496, allocations: 2.493 MB / 1.382 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.4498, allocations: 251.2 kB / 1.382 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.991, allocations: 0 / 1.382 GB, free: 6.258 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat does not exist to compare? outputFormat=mat