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.683/2.683, allocations: 390.5 MB / 398 MB, free: 10.86 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.00127/0.001269, allocations: 183.7 kB / 491.2 MB, free: 1.516 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.844/1.844, allocations: 221.5 MB / 0.7868 GB, free: 13.18 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.0009958/0.0009959, allocations: 102.3 kB / 0.9269 GB, free: 13.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.956e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4177, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.754, allocations: 151.3 MB / 1.36 GB, free: 17.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.754, allocations: 78.7 kB / 1.36 GB, free: 17.22 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.01038/1.765, allocations: 3.008 MB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.963e-06/1.765, allocations: 0 / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.765, allocations: 0 / 1.363 GB, free: 32.77 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.0006962/1.765, allocations: 411.7 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.765, allocations: 7.688 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/1.765, allocations: 11.73 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/1.766, allocations: 172.1 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/1.766, allocations: 3.844 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/1.766, allocations: 10.59 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.708e-05/1.766, allocations: 23 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/1.766, allocations: 57.53 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.766, allocations: 3.719 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.766, allocations: 0 / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.766, allocations: 0 / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/1.767, allocations: 291 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/1.767, allocations: 42.2 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/1.767, allocations: 24.81 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.767, allocations: 0 / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/1.767, allocations: 68.27 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.767, allocations: 4 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003433/1.767, allocations: 98.7 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/1.767, allocations: 56.81 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.768, allocations: 107.2 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.768, allocations: 33.48 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/1.768, allocations: 93.36 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/1.768, allocations: 16.05 kB / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.768, allocations: 0 / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.768, allocations: 321.7 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/1.768, allocations: 19.66 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/1.768, allocations: 35.31 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/1.768, allocations: 20.83 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.768, allocations: 7.844 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000177/1.768, allocations: 89.03 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.768, allocations: 3.812 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.768, allocations: 7.969 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.768, allocations: 0 / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.768, allocations: 14.89 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.768, allocations: 7.656 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/1.768, allocations: 9.062 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.768, allocations: 5.203 kB / 1.365 GB, free: 31.07 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 9.518e-05/1.769, allocations: 104.9 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001627/1.769, allocations: 104.5 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/1.769, allocations: 0 / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/1.769, allocations: 16.94 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.769, allocations: 1.172 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.769, allocations: 3.953 kB / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.769, allocations: 0 / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/1.769, allocations: 342.1 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.769, allocations: 0.6875 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/1.769, allocations: 5.484 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/1.769, allocations: 9.578 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.769, allocations: 0 / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.769, allocations: 3.953 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.769, allocations: 0.875 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.77, allocations: 180 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/1.77, allocations: 86.31 kB / 1.366 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/1.77, allocations: 7.438 kB / 1.366 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/1.77, allocations: 10.61 kB / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/1.77, allocations: 9.203 kB / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/1.77, allocations: 5.297 kB / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.969e-05/1.77, allocations: 89.45 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.77, allocations: 0 / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003812/1.77, allocations: 53.05 kB / 1.366 GB, free: 30.31 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.0009212/1.771, allocations: 0.7948 MB / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001599/1.771, allocations: 55.06 kB / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.771, allocations: 0 / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/1.771, allocations: 30.52 kB / 1.367 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/1.772, allocations: 13.91 kB / 1.367 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/1.772, allocations: 153.4 kB / 1.367 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.773, allocations: 0.6892 MB / 1.368 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.016e-05/1.773, allocations: 9.297 kB / 1.368 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/1.773, allocations: 20.95 kB / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.773, allocations: 0 / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/1.798, allocations: 2.182 MB / 1.37 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.798, allocations: 207.3 kB / 1.37 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/3.658, allocations: 0 / 1.37 GB, free: 28.33 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