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.416/2.416, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001709/0.001709, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001108/0.001108, allocations: 87.97 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.284e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.489, allocations: 152 MB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.49, allocations: 81.14 kB / 1.367 GB, free: 2.109 MB / 0.823 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.009673/1.5, allocations: 3.017 MB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.5, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.5, allocations: 4 kB / 1.37 GB, free: 15.52 MB / 0.8386 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.000688/1.5, allocations: 420.4 kB / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.5, allocations: 12.03 kB / 1.371 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/1.5, allocations: 34.19 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/1.5, allocations: 11.86 kB / 1.371 GB, free: 15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.501, allocations: 168.3 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/1.501, allocations: 8 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.501, allocations: 11.92 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/1.501, allocations: 53.3 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.501, allocations: 0 / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.501, allocations: 4 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.501, allocations: 3.938 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/1.501, allocations: 19.62 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/1.502, allocations: 321.4 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/1.502, allocations: 42.81 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/1.502, allocations: 25.86 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.502, allocations: 3.938 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/1.502, allocations: 76.64 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.502, allocations: 0 / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002632/1.502, allocations: 100.6 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.502, allocations: 51.41 kB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.502, allocations: 115.3 kB / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/1.503, allocations: 25.7 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/1.503, allocations: 103.2 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/1.503, allocations: 18.92 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/1.503, allocations: 0 / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.503, allocations: 318.6 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/1.503, allocations: 22.38 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/1.503, allocations: 46.81 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/1.503, allocations: 25.73 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.503, allocations: 0 / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001647/1.503, allocations: 94.38 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.503, allocations: 5.094 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.503, allocations: 7.984 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.503, allocations: 0.75 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.503, allocations: 11.95 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/1.503, allocations: 4 kB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/1.503, allocations: 15.27 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/1.504, allocations: 4 kB / 1.372 GB, free: 13.3 MB / 0.8386 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 () * 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.0001088/1.504, allocations: 117.2 kB / 1.372 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/1.504, allocations: 3.906 kB / 1.372 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/1.504, allocations: 12.38 kB / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.504, allocations: 11.97 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.504, allocations: 3.953 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.504, allocations: 0 / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/1.504, allocations: 363.7 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.504, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/1.504, allocations: 11.12 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.504, allocations: 0 / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/1.504, allocations: 3.953 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.504, allocations: 0 / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.504, allocations: 0 / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/1.505, allocations: 200.2 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/1.505, allocations: 81.11 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/1.505, allocations: 0 / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/1.505, allocations: 15.94 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/1.505, allocations: 4 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.505, allocations: 3.125 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.161e-05/1.505, allocations: 103.1 kB / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.505, allocations: 0 / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002875/1.505, allocations: 51.56 kB / 1.373 GB, free: 12.3 MB / 0.8386 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 () * 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.0007793/1.506, allocations: 0.7916 MB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001548/1.506, allocations: 63.91 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.506, allocations: 0 / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/1.506, allocations: 26.94 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/1.506, allocations: 12.08 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/1.507, allocations: 161.4 kB / 1.374 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.507, allocations: 0.7004 MB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.919e-05/1.507, allocations: 4.188 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/1.507, allocations: 13.81 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.507, allocations: 0 / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/1.522, allocations: 2.529 MB / 1.377 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.522, allocations: 223.5 kB / 1.378 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/3.187, allocations: 0 / 1.378 GB, free: 7.949 MB / 0.8386 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