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.001196/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001195/0.001195, allocations: 192.9 kB / 16.25 MB, free: 6.641 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.646/2.646, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002177, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6999, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002832/0.7027, allocations: 1.577 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.7041, allocations: 0.7364 MB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.7042, allocations: 15.88 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.7042, allocations: 7.922 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.7043, allocations: 7.875 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.7049, allocations: 127.7 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.7051, allocations: 99.81 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.7052, allocations: 8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.7053, allocations: 55.77 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.7054, allocations: 55.8 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.7054, allocations: 12 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.7056, allocations: 95.91 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.7056, allocations: 19.98 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.7057, allocations: 43.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.706, allocations: 169.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.706, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.794e-06/0.706, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.706, allocations: 4 kB / 1.02 GB, free: 15.68 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.0007122/0.7067, allocations: 450.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7068, allocations: 8.031 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.7068, allocations: 12.84 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.707, allocations: 176.2 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.707, allocations: 4.375 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.707, allocations: 4.375 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.7073, allocations: 101.9 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7073, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.7073, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7073, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.7075, allocations: 47.95 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.7083, allocations: 356.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.7085, allocations: 62.55 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.7087, allocations: 40.84 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.7087, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.7089, allocations: 99.34 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.709, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005545/0.7095, allocations: 185.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.7096, allocations: 63.55 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.7097, allocations: 129.3 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.7097, allocations: 41.64 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.7098, allocations: 88 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.7098, allocations: 23.73 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.7099, allocations: 29.72 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.71, allocations: 322.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.7101, allocations: 31.97 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.7102, allocations: 60.28 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.7104, allocations: 92.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7104, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002668/0.7107, allocations: 137.4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.7109, allocations: 11.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7109, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7109, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.7111, allocations: 19.92 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7111, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.7112, allocations: 15.91 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.7112, allocations: 4 kB / 1.022 GB, free: 12.85 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.0001097/0.7113, allocations: 122.4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.7113, allocations: 15.89 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.7114, allocations: 4.375 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7114, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7114, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7114, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.7123, allocations: 438.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7123, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.7124, allocations: 7.938 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7124, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.7124, allocations: 16.05 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7124, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7125, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.7129, allocations: 247.3 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.713, allocations: 85.02 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.7131, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7132, allocations: 7.984 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.7133, allocations: 15.92 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7133, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.7133, allocations: 95.27 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7134, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003589/0.7137, allocations: 47.98 kB / 1.023 GB, free: 11.66 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.0004427/0.7142, allocations: 160.8 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.7145, allocations: 95.94 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7145, allocations: 4.062 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.7147, allocations: 51.95 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.715, allocations: 13.95 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.7156, allocations: 216.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.7161, allocations: 0.6923 MB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.7161, allocations: 11.92 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.7162, allocations: 11.44 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7162, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.005271/0.7215, allocations: 1.708 MB / 1.026 GB, free: 8.668 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