Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001184/0.001184, allocations: 176 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001264/0.001265, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.345e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9851/1.254, allocations: 152.3 MB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.254, allocations: 84.25 kB / 1.368 GB, free: 1.789 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.00988/1.264, allocations: 3.256 MB / 1.371 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.264, allocations: 3.938 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.264, allocations: 0 / 1.371 GB, free: 14.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000582/1.264, allocations: 447.5 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.264, allocations: 8.031 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/1.265, allocations: 11.86 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.265, allocations: 175 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/1.265, allocations: 4 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/1.265, allocations: 11.55 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/1.265, allocations: 73.41 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.265, allocations: 0 / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/1.265, allocations: 4 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.265, allocations: 4 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/1.265, allocations: 32.11 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/1.266, allocations: 352.2 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.266, allocations: 51.08 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/1.266, allocations: 35.47 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/1.266, allocations: 0 / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/1.266, allocations: 89.45 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/1.266, allocations: 3.938 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000302/1.267, allocations: 133.4 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.267, allocations: 55.41 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/1.267, allocations: 116.8 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.267, allocations: 28.77 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/1.267, allocations: 89.89 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/1.267, allocations: 26.59 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/1.267, allocations: 2.938 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.267, allocations: 313.8 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/1.267, allocations: 26.23 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/1.267, allocations: 52.92 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/1.267, allocations: 33.42 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.267, allocations: 0 / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002063/1.267, allocations: 110.5 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.267, allocations: 5.25 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.267, allocations: 4 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.268, allocations: 3.984 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.268, allocations: 19.06 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.268, allocations: 12.58 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/1.268, allocations: 11.91 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/1.268, allocations: 4 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001082/1.268, allocations: 114.9 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/1.268, allocations: 7.906 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/1.268, allocations: 15.92 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/1.268, allocations: 4 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.268, allocations: 3.938 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.268, allocations: 7.953 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/1.269, allocations: 391 kB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.269, allocations: 0 / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/1.269, allocations: 11.98 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.269, allocations: 0 / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.269, allocations: 0 / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.269, allocations: 4.031 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.269, allocations: 3.984 kB / 1.373 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/1.269, allocations: 238.8 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/1.269, allocations: 81.08 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.269, allocations: 8 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/1.269, allocations: 11.42 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/1.269, allocations: 11.98 kB / 1.374 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/1.269, allocations: 3.984 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.973e-05/1.269, allocations: 97.28 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.269, allocations: 4 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003295/1.27, allocations: 59.36 kB / 1.374 GB, free: 11.59 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000518/1.27, allocations: 161.7 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002074/1.27, allocations: 71.23 kB / 1.374 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.27, allocations: 4.188 kB / 1.374 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/1.271, allocations: 38.8 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.271, allocations: 8.906 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/1.271, allocations: 118.8 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/1.272, allocations: 0.6926 MB / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.037e-05/1.272, allocations: 8 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/1.272, allocations: 15.42 kB / 1.375 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/1.272, allocations: 0 / 1.375 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.005291/1.277, allocations: 1.792 MB / 1.377 GB, free: 8.715 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0