Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.487/2.487, allocations: 390.5 MB / 398 MB, free: 10.98 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.001276/0.001276, allocations: 172.9 kB / 491.2 MB, free: 1.598 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.685/1.685, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.00105/0.001051, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.451e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3516, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.48, allocations: 151.3 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.48, allocations: 77.06 kB / 1.36 GB, free: 17.27 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.009901/1.49, allocations: 3.004 MB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.836e-06/1.49, allocations: 0 / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.49, allocations: 0 / 1.363 GB, free: 32.82 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.0006094/1.491, allocations: 412.8 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/1.491, allocations: 15 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/1.491, allocations: 12.86 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/1.491, allocations: 174.5 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/1.491, allocations: 0 / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/1.491, allocations: 6.75 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/1.491, allocations: 22.47 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.491, allocations: 54.19 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.491, allocations: 0 / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.491, allocations: 0 / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.491, allocations: 3.781 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/1.492, allocations: 291.5 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/1.492, allocations: 42.47 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/1.492, allocations: 23.3 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/1.492, allocations: 7.656 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/1.492, allocations: 64.61 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.492, allocations: 0 / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002946/1.493, allocations: 91.55 kB / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.493, allocations: 60.95 kB / 1.364 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/1.493, allocations: 110.7 kB / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/1.493, allocations: 25.7 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/1.493, allocations: 104.3 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/1.493, allocations: 20.7 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/1.493, allocations: 0 / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.493, allocations: 315.9 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/1.493, allocations: 20.38 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/1.493, allocations: 34.64 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/1.493, allocations: 20.69 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.493, allocations: 7.938 kB / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001383/1.494, allocations: 89.09 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.494, allocations: 9.031 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.494, allocations: 2.125 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.494, allocations: 3.938 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/1.494, allocations: 14.67 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.494, allocations: 0 / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/1.494, allocations: 9.781 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.494, allocations: 7.969 kB / 1.365 GB, free: 31.12 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.875e-05/1.494, allocations: 111.3 kB / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001439/1.494, allocations: 93.48 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/1.494, allocations: 3.844 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/1.494, allocations: 9.547 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.494, allocations: 3.844 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.494, allocations: 3.953 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.494, allocations: 0 / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/1.494, allocations: 348.5 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.494, allocations: 0 / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/1.495, allocations: 5.688 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.495, allocations: 0 / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.495, allocations: 1.859 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.495, allocations: 3.953 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.495, allocations: 3.875 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/1.495, allocations: 194.8 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/1.495, allocations: 86.12 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/1.495, allocations: 4.312 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/1.495, allocations: 5.594 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/1.495, allocations: 10.58 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.495, allocations: 7.812 kB / 1.366 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.091e-05/1.495, allocations: 92.44 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.495, allocations: 0 / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003109/1.495, allocations: 55.86 kB / 1.366 GB, free: 30.35 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.0007893/1.496, allocations: 0.7767 MB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001485/1.496, allocations: 62.22 kB / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.496, allocations: 0 / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/1.496, allocations: 27.56 kB / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/1.497, allocations: 12.84 kB / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/1.497, allocations: 152.6 kB / 1.367 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/1.497, allocations: 0.692 MB / 1.368 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.154e-05/1.498, allocations: 9.734 kB / 1.368 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/1.498, allocations: 19.98 kB / 1.368 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.498, allocations: 0 / 1.368 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/1.52, allocations: 2.184 MB / 1.37 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.52, allocations: 203.8 kB / 1.37 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.24, allocations: 0 / 1.37 GB, free: 28.38 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat