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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003868, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.845, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00167/0.8467, allocations: 1.206 MB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.848, allocations: 0.7126 MB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.8481, allocations: 0 / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.8481, allocations: 3.938 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.8482, allocations: 15.12 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.8487, allocations: 108.2 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.8488, allocations: 54.38 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.8489, allocations: 13.78 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.849, allocations: 42.72 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.8491, allocations: 44.16 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.8492, allocations: 4.156 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.8493, allocations: 76.77 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.8494, allocations: 15.47 kB / 0.9557 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.8494, allocations: 44.77 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.8496, allocations: 114.9 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8496, allocations: 0 / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8496, allocations: 1.219 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8496, allocations: 0 / 0.9559 GB, free: 6.273 MB / 0.7169 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.0005839/0.8502, allocations: 439.9 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8503, allocations: 12.8 kB / 0.9563 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.8503, allocations: 16.67 kB / 0.9563 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.8504, allocations: 174.4 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.8505, allocations: 7.5 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.8505, allocations: 4.406 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.8508, allocations: 92.72 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8508, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.8508, allocations: 1.062 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.8508, allocations: 1.125 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.851, allocations: 63.31 kB / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.8518, allocations: 341.5 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.852, allocations: 69.36 kB / 0.9571 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.852, allocations: 0.9688 kB / 0.9571 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.8522, allocations: 98.14 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.8522, allocations: 1.5 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.8528, allocations: 204.5 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.8529, allocations: 54.97 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.8529, allocations: 131.8 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.853, allocations: 28.33 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.853, allocations: 94.25 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.853, allocations: 18.62 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.8531, allocations: 1.812 kB / 0.9577 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.8531, allocations: 320.5 kB / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.8532, allocations: 30.33 kB / 0.958 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.8533, allocations: 70.73 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.8534, allocations: 46.22 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8534, allocations: 4 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002575/0.8537, allocations: 129.8 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8537, allocations: 7.281 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8537, allocations: 1.562 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8538, allocations: 5.328 kB / 0.9583 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.8539, allocations: 18.8 kB / 0.9583 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.8539, allocations: 6.812 kB / 0.9583 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.854, allocations: 17.11 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.854, allocations: 4 kB / 0.9583 GB, free: 4.051 MB / 0.7169 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 () * Number of clocked 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.922e-05/0.8541, allocations: 119.6 kB / 0.9584 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.8541, allocations: 8.969 kB / 0.9584 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.8542, allocations: 10.12 kB / 0.9584 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8542, allocations: 4.047 kB / 0.9584 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8542, allocations: 11.95 kB / 0.9584 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8542, allocations: 1.875 kB / 0.9584 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.8547, allocations: 427.4 kB / 0.9589 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8547, allocations: 0 / 0.9589 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8548, allocations: 9.484 kB / 0.9589 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8548, allocations: 4 kB / 0.9589 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8548, allocations: 9.328 kB / 0.9589 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8548, allocations: 5.312 kB / 0.9589 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8548, allocations: 0 / 0.9589 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.8552, allocations: 252.2 kB / 0.9591 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.8552, allocations: 83.77 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.8553, allocations: 1.375 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.8554, allocations: 13.44 kB / 0.9592 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.8554, allocations: 2.75 kB / 0.9592 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.8555, allocations: 10.67 kB / 0.9592 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.8555, allocations: 101.1 kB / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.8555, allocations: 0 / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003422/0.8559, allocations: 38.25 kB / 0.9594 GB, free: 3.09 MB / 0.7169 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) * Number of clocked states: 0 () * 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.0003873/0.8563, allocations: 168.9 kB / 0.9595 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.8566, allocations: 104.6 kB / 0.9596 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8566, allocations: 0 / 0.9596 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.8567, allocations: 57.14 kB / 0.9597 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.8569, allocations: 6.547 kB / 0.9597 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.8574, allocations: 222.4 kB / 0.9599 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.8576, allocations: 0.6991 MB / 0.9606 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.8576, allocations: 7.375 kB / 0.9606 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.8576, allocations: 19.41 kB / 0.9606 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8577, allocations: 0 / 0.9606 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.005769/0.8634, allocations: 1.608 MB / 0.9622 GB, free: 1.145 MB / 0.7169 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