Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002068/0.002068, allocations: 190.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7732, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003448/0.7767, allocations: 1.573 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.7784, allocations: 0.7713 MB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.7785, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.215e-05/0.7786, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7787, allocations: 15.84 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.7793, allocations: 111.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.7795, allocations: 99.69 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7796, allocations: 19.98 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.7797, allocations: 39.91 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.7798, allocations: 47.81 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.7798, allocations: 4 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.78, allocations: 95.84 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.7801, allocations: 23.89 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.7802, allocations: 43.78 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.7804, allocations: 149.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7804, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7804, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7805, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 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.0007161/0.7812, allocations: 466.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7812, allocations: 8.031 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.7813, allocations: 8.844 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.7814, allocations: 172.2 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.7815, allocations: 8.375 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7815, allocations: 12.3 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.7818, allocations: 93.94 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7818, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.7818, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7818, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.782, allocations: 43.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.7828, allocations: 348.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.783, allocations: 58.55 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.7831, allocations: 48.77 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.7831, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.7834, allocations: 103.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.7834, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.784, allocations: 193.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.7841, allocations: 55.41 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7842, allocations: 133.3 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.7842, allocations: 25.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.7843, allocations: 99.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.7843, allocations: 19.75 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.7844, allocations: 29.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7845, allocations: 326.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.7846, allocations: 27.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.7847, allocations: 68.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.7849, allocations: 92.2 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7849, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002543/0.7852, allocations: 133.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7852, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7852, allocations: 4.062 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7852, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.7853, allocations: 19.92 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7853, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.7854, allocations: 11.98 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.7854, allocations: 4.094 kB / 1.022 GB, free: 12.95 MB / 0.7794 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.7856, allocations: 130.2 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.7856, allocations: 7.906 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.7856, allocations: 8.375 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7856, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7856, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7856, allocations: 3.984 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.7862, allocations: 430.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7863, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.7863, allocations: 7.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7863, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.7863, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7863, allocations: 7.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7863, allocations: 7.875 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.7868, allocations: 251.4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.7868, allocations: 81.02 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.7869, allocations: 8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.787, allocations: 7.984 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.7871, allocations: 3.938 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.7871, allocations: 7.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.7871, allocations: 103.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7871, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000321/0.7875, allocations: 40 kB / 1.023 GB, free: 11.75 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003877/0.7879, allocations: 159.4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.7882, allocations: 95.88 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7882, allocations: 0 / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.7884, allocations: 47.97 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.7886, allocations: 8 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.7891, allocations: 229.9 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.7894, allocations: 0.6965 MB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.7895, allocations: 4 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.7895, allocations: 11.44 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7895, allocations: 4 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.004427/0.794, allocations: 1.664 MB / 1.026 GB, free: 8.805 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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