Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001089/0.001089, allocations: 173 kB / 492.3 MB, free: 0.6094 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.684/1.684, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008124/0.0008122, allocations: 87.95 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.904e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2815, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.356, allocations: 151.5 MB / 1.36 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.357, allocations: 79.36 kB / 1.36 GB, free: 19.1 MB / 0.823 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.009875/1.367, allocations: 3.272 MB / 1.364 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.367, allocations: 3.938 kB / 1.364 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.367, allocations: 0 / 1.364 GB, free: 34.62 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.0004579/1.367, allocations: 448 kB / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.367, allocations: 15.62 kB / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/1.367, allocations: 12.73 kB / 1.364 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/1.367, allocations: 172 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/1.367, allocations: 3.969 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/1.367, allocations: 9.062 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.367, allocations: 72.77 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/1.367, allocations: 0 / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.368, allocations: 5.062 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.368, allocations: 0 / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/1.368, allocations: 31.41 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/1.368, allocations: 356.7 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/1.368, allocations: 47.7 kB / 1.365 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/1.368, allocations: 48.58 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.368, allocations: 7.938 kB / 1.365 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.369, allocations: 83.42 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/1.369, allocations: 0 / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002714/1.369, allocations: 126.1 kB / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/1.369, allocations: 55.36 kB / 1.365 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/1.369, allocations: 113.8 kB / 1.365 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/1.369, allocations: 29.58 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/1.369, allocations: 98.3 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/1.369, allocations: 18.84 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-06/1.369, allocations: 7.531 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/1.369, allocations: 319.6 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/1.369, allocations: 22.19 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/1.369, allocations: 52.23 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.61e-05/1.369, allocations: 36.88 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.369, allocations: 0 / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/1.37, allocations: 108.3 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.37, allocations: 7.688 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/1.37, allocations: 0 / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.37, allocations: 2.766 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/1.37, allocations: 25.66 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.37, allocations: 7.688 kB / 1.366 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/1.37, allocations: 7.797 kB / 1.366 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.37, allocations: 6.516 kB / 1.366 GB, free: 32.83 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 7.985e-05/1.37, allocations: 121.9 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/1.37, allocations: 7.688 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/1.37, allocations: 11.16 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.37, allocations: 4 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.37, allocations: 0 / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/1.37, allocations: 0 / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/1.37, allocations: 409.2 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.37, allocations: 0 / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/1.371, allocations: 7.875 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.371, allocations: 2.812 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/1.371, allocations: 0 / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.371, allocations: 3.812 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.371, allocations: 7.891 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/1.371, allocations: 230.5 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/1.371, allocations: 83.92 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/1.371, allocations: 3.625 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.371, allocations: 6.391 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/1.371, allocations: 18.31 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.371, allocations: 3.75 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.997e-05/1.371, allocations: 104.1 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.371, allocations: 0 / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003564/1.372, allocations: 49.5 kB / 1.367 GB, free: 32.06 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.0003467/1.372, allocations: 179.2 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.372, allocations: 80.28 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/1.372, allocations: 0 / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/1.372, allocations: 38.34 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/1.372, allocations: 10.14 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/1.373, allocations: 117.6 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.373, allocations: 0.696 MB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.782e-05/1.373, allocations: 10.92 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/1.373, allocations: 11.31 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.373, allocations: 3.938 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.004462/1.378, allocations: 1.796 MB / 1.37 GB, free: 31 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0