Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.268/2.268, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.00116/0.00116, allocations: 180 kB / 0.4901 GB, free: 2.242 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.657/1.657, 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.001034/0.001034, allocations: 102.7 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005025, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3056, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.4934, allocations: 152 MB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4937, allocations: 87.94 kB / 1.378 GB, free: 1.352 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.009363/0.503, allocations: 3.035 MB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5031, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5031, allocations: 4 kB / 1.381 GB, free: 14.3 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.0005762/0.5037, allocations: 424.7 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5037, allocations: 12.03 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.5038, allocations: 42.5 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.5038, allocations: 3.953 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.504, allocations: 174.9 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.504, allocations: 4 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.504, allocations: 8 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.5042, allocations: 73.53 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5042, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5042, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5042, allocations: 8 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.5044, allocations: 39.97 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.505, allocations: 316.8 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.5052, allocations: 50.56 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.5052, allocations: 8 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.5054, allocations: 79.5 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.5054, allocations: 4 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.5058, allocations: 149.5 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.5058, allocations: 55.41 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.5059, allocations: 109 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5059, allocations: 29.7 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.506, allocations: 104.2 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.506, allocations: 15.8 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.506, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5062, allocations: 322.8 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.5062, allocations: 27.98 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.5063, allocations: 51 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.5065, allocations: 31.98 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5065, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.5067, allocations: 117.6 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5068, allocations: 8 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5068, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5068, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.5069, allocations: 15.98 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5069, allocations: 12.22 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.507, allocations: 11.84 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.507, allocations: 4 kB / 1.383 GB, free: 11.8 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.973e-05/0.5071, allocations: 126.7 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.5071, allocations: 4 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.5071, allocations: 4.375 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5072, allocations: 4 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5072, allocations: 3.984 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5072, allocations: 3.953 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.5076, allocations: 394.4 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5076, allocations: 3.938 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.5077, allocations: 7.984 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5077, allocations: 4 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5077, allocations: 0 / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5077, allocations: 3.953 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5077, allocations: 0 / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.508, allocations: 215.5 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.5081, allocations: 81.02 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5081, allocations: 7.938 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.5082, allocations: 4 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.5082, allocations: 7.938 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5083, allocations: 8 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.5083, allocations: 99.42 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5083, allocations: 0 / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003002/0.5086, allocations: 51.92 kB / 1.384 GB, free: 10.68 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.0008681/0.5095, allocations: 0.8119 MB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5098, allocations: 83.83 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5098, allocations: 128 / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.5099, allocations: 43.92 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.51, allocations: 12.2 kB / 1.385 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.5109, allocations: 0.7332 MB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.5111, allocations: 0.6926 MB / 1.386 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.5112, allocations: 12.72 kB / 1.386 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.5112, allocations: 11.44 kB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.5112, allocations: 0 / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.5254, allocations: 2.512 MB / 1.389 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.5257, allocations: 240.3 kB / 1.389 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.185, allocations: 0 / 1.389 GB, free: 5.605 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat does not exist to compare? outputFormat=mat