Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.592/2.592, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001285/0.001285, allocations: 191.1 kB / 0.4902 GB, free: 2.219 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.52/1.52, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009538/0.0009536, allocations: 102.4 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 15.12 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2891, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.4814, allocations: 152 MB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4817, allocations: 83.95 kB / 1.378 GB, free: 1.309 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.009261/0.491, allocations: 3.043 MB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.491, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.491, allocations: 0 / 1.381 GB, free: 14.26 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.0005782/0.4916, allocations: 428.7 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4916, allocations: 12.03 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.4917, allocations: 38.55 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.4917, allocations: 7.953 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4919, allocations: 170.9 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.4919, allocations: 4 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4919, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4921, allocations: 73.59 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4921, allocations: 4 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4922, allocations: 0 / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4922, allocations: 3.938 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4923, allocations: 47.91 kB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.493, allocations: 316.8 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4931, allocations: 54.55 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4931, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.4934, allocations: 91.5 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.4934, allocations: 0 / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004032/0.4938, allocations: 145.5 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4938, allocations: 51.41 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.4939, allocations: 113 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.494, allocations: 33.7 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.494, allocations: 92.22 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.494, allocations: 19.8 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4941, allocations: 0 / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4942, allocations: 322.8 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.4943, allocations: 27.92 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-05/0.4944, allocations: 58.92 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.4945, allocations: 32 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4945, allocations: 0 / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.4947, allocations: 113.6 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4948, allocations: 4 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4948, allocations: 4 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4948, allocations: 0 / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4949, allocations: 15.98 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4949, allocations: 12.28 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.495, allocations: 11.84 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.495, allocations: 12.05 kB / 1.383 GB, free: 11.74 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 9.261e-05/0.4951, allocations: 118.6 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.4951, allocations: 4 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.4952, allocations: 8.375 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4952, allocations: 0 / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4952, allocations: 0 / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4952, allocations: 3.953 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.4957, allocations: 398.4 kB / 1.383 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4957, allocations: 0 / 1.383 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.4958, allocations: 11.98 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.4958, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4958, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4958, allocations: 7.953 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4958, allocations: 0 / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4961, allocations: 211.5 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.4961, allocations: 85.02 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4962, allocations: 3.938 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.4963, allocations: 7.984 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4963, allocations: 7.953 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4963, allocations: 8 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.4964, allocations: 95.2 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4964, allocations: 0 / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003032/0.4967, allocations: 51.92 kB / 1.384 GB, free: 10.64 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.000863/0.4976, allocations: 0.8237 MB / 1.385 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.4978, allocations: 75.97 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4979, allocations: 0 / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.498, allocations: 35.97 kB / 1.385 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4981, allocations: 21.08 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.499, allocations: 0.7303 MB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4993, allocations: 0.6926 MB / 1.386 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.4993, allocations: 12.66 kB / 1.386 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.4994, allocations: 19.44 kB / 1.386 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.4994, allocations: 0 / 1.386 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.5134, allocations: 2.509 MB / 1.389 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5137, allocations: 246.8 kB / 1.389 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.206, allocations: 0 / 1.389 GB, free: 5.555 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat does not exist to compare? outputFormat=mat