Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001217/0.001217, allocations: 179.4 kB / 498.1 MB, free: 5.75 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.584/1.584, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008531/0.0008531, allocations: 87.84 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 10.25 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3235, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5074, allocations: 151.2 MB / 1.371 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5077, allocations: 87.92 kB / 1.371 GB, free: 10.79 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.00965/0.5174, allocations: 3.032 MB / 1.374 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5174, allocations: 0 / 1.374 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.5174, allocations: 0 / 1.374 GB, free: 7.754 MB / 0.8698 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.0006163/0.518, allocations: 424.7 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5181, allocations: 15.97 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.5182, allocations: 7.859 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.5183, allocations: 171 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.5184, allocations: 11.98 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.5184, allocations: 7.938 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.5186, allocations: 73.66 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5186, allocations: 0 / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5187, allocations: 3.984 kB / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5187, allocations: 4 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.5188, allocations: 35.98 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.5196, allocations: 320.8 kB / 1.375 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.5197, allocations: 50.5 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.5198, allocations: 0 / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.5199, allocations: 87.41 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.52, allocations: 0 / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000437/0.5204, allocations: 157.6 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.5205, allocations: 59.41 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.5206, allocations: 116.8 kB / 1.375 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.5206, allocations: 29.69 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.5207, allocations: 92.33 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.5207, allocations: 7.812 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.5207, allocations: 4 kB / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5208, allocations: 322.8 kB / 1.376 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.5209, allocations: 27.98 kB / 1.376 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.521, allocations: 50.55 kB / 1.376 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.5211, allocations: 32 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5212, allocations: 0 / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002703/0.5214, allocations: 125.4 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5215, allocations: 8 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5215, allocations: 0 / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5215, allocations: 0 / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.5216, allocations: 19.92 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5216, allocations: 3.953 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.5217, allocations: 19.98 kB / 1.376 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5217, allocations: 4 kB / 1.376 GB, free: 5.273 MB / 0.8698 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 8.877e-05/0.5218, allocations: 113.8 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.5218, allocations: 7.906 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.5219, allocations: 8.375 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5219, allocations: 4 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5219, allocations: 0 / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5219, allocations: 7.938 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.5223, allocations: 382.5 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5224, allocations: 3.938 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.5224, allocations: 8 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5224, allocations: 4 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.5224, allocations: 0 / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5224, allocations: 3.953 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5225, allocations: 4 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.5228, allocations: 215.3 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.5228, allocations: 77.11 kB / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.5228, allocations: 4 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.5229, allocations: 11.98 kB / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.523, allocations: 11.94 kB / 1.377 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.523, allocations: 7.984 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.5231, allocations: 87.28 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.5231, allocations: 0 / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000342/0.5234, allocations: 55.83 kB / 1.377 GB, free: 4.176 MB / 0.8698 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.0003907/0.5238, allocations: 189.6 kB / 1.377 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5241, allocations: 71.89 kB / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5241, allocations: 0 / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.5242, allocations: 44.06 kB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.5244, allocations: 12.12 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.5248, allocations: 209.1 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.525, allocations: 0.6887 MB / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.562e-05/0.5251, allocations: 8.188 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.5251, allocations: 11.44 kB / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5251, allocations: 0 / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of Templates: time 0.003965/0.5291, allocations: 1.512 MB / 1.379 GB, free: 1.398 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0