Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001297/0.001297, allocations: 174.4 kB / 0.4901 GB, free: 2.23 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.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000882/0.000882, allocations: 96.27 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003557, allocations: 10.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5005, allocations: 152 MB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5008, allocations: 83.95 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009449/0.5103, allocations: 3.035 MB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5103, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5103, allocations: 0 / 1.381 GB, free: 14.24 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.0005805/0.5109, allocations: 436.7 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.511, allocations: 8.031 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.511, allocations: 34.55 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.5111, allocations: 7.953 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5112, allocations: 174.9 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.5112, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.5113, allocations: 7.938 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5115, allocations: 77.59 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5115, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5115, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5115, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5116, allocations: 43.97 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.5123, allocations: 320.8 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.5124, allocations: 54.48 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5125, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.5127, allocations: 83.48 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.5127, allocations: 3.938 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.00041/0.5131, allocations: 149.5 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5131, allocations: 59.47 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5133, allocations: 109 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.5133, allocations: 33.64 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.5134, allocations: 96.22 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5134, allocations: 11.81 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-06/0.5134, allocations: 4 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5135, allocations: 322.8 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5137, allocations: 27.98 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.5138, allocations: 50.55 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/0.5139, allocations: 32 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5139, allocations: 0 / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002421/0.5141, allocations: 113.6 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5141, allocations: 4 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5142, allocations: 4 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5142, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.5143, allocations: 15.92 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.5143, allocations: 11.89 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.5144, allocations: 19.91 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5144, allocations: 7.984 kB / 1.383 GB, free: 11.71 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.0001041/0.5145, allocations: 114.6 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.5145, allocations: 4 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.5146, allocations: 8.375 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5146, allocations: 4 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5146, allocations: 0 / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5146, allocations: 7.953 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.5151, allocations: 390.4 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5151, allocations: 0 / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.5151, allocations: 7.984 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5151, allocations: 0 / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5152, allocations: 4 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5152, allocations: 3.953 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5152, allocations: 4 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.5155, allocations: 211.5 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.5155, allocations: 84.95 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.5156, allocations: 4 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.5156, allocations: 11.98 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.5157, allocations: 7.953 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5157, allocations: 4 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.5158, allocations: 91.92 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5158, allocations: 0 / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003112/0.5161, allocations: 55.86 kB / 1.384 GB, free: 10.62 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.0008765/0.517, allocations: 0.8203 MB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.5173, allocations: 79.91 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5173, allocations: 0 / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.5174, allocations: 47.89 kB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.5176, allocations: 13.67 kB / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.5185, allocations: 0.7265 MB / 1.386 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5189, allocations: 0.6965 MB / 1.386 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.5189, allocations: 4.172 kB / 1.386 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.519, allocations: 19.44 kB / 1.386 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.519, allocations: 0 / 1.386 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.533, allocations: 2.52 MB / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.5334, allocations: 249.8 kB / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.133, allocations: 1.875 kB / 1.389 GB, free: 5.438 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat does not exist to compare? outputFormat=mat