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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001453/0.001453, 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.0017/0.0017, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6789, allocations: 140.3 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002783/0.6817, allocations: 1.569 MB / 0.9504 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.683, allocations: 0.7657 MB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.683, allocations: 1.375 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.6831, allocations: 3.938 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.6832, allocations: 9.297 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.6837, allocations: 115.4 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.6839, allocations: 98.31 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.684, allocations: 21.47 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.6841, allocations: 38.69 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.6842, allocations: 48.66 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.6842, allocations: 4.906 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.6844, allocations: 95.56 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.6845, allocations: 26.8 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.6845, allocations: 32.08 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.6848, allocations: 167.8 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6848, allocations: 3.938 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6848, allocations: 0 / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6849, allocations: 5.406 kB / 0.9518 GB, free: 6.887 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.0006816/0.6855, allocations: 457.9 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6856, allocations: 13.5 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.6857, allocations: 10.06 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.6858, allocations: 172.1 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.6858, allocations: 7.219 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.6858, allocations: 9.438 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.6861, allocations: 90.12 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6861, allocations: 0 / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.6861, allocations: 5.359 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.6861, allocations: 5.453 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.6863, allocations: 48.62 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.6871, allocations: 343.7 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.6873, allocations: 66.67 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.6874, allocations: 45.48 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.6875, allocations: 5.672 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.6877, allocations: 91.77 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6878, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005934/0.6884, allocations: 184.5 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.6884, allocations: 60.78 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.6885, allocations: 134.6 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6885, allocations: 31.17 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.6886, allocations: 90.97 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.6886, allocations: 22.58 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.6886, allocations: 35.27 kB / 0.9537 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.6887, allocations: 325.7 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.6888, allocations: 27.92 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.6889, allocations: 68.8 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.6891, allocations: 88.72 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6891, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002583/0.6894, allocations: 136.6 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6894, allocations: 5.062 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6894, allocations: 2.031 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6894, allocations: 1.156 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6895, allocations: 23.23 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6896, allocations: 1.125 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.6896, allocations: 8.312 kB / 0.9543 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.6897, allocations: 8.734 kB / 0.9543 GB, free: 4.551 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 (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 7.341e-05/0.6897, allocations: 131.9 kB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.6898, allocations: 6.906 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.6898, allocations: 6.875 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6898, allocations: 1.719 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6898, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6898, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.6904, allocations: 435 kB / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6904, allocations: 4.062 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.6904, allocations: 4.375 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6904, allocations: 0 / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.6905, allocations: 9.109 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6905, allocations: 1.125 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6905, allocations: 3.938 kB / 0.9549 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.6909, allocations: 248.3 kB / 0.9552 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.6909, allocations: 87.28 kB / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.6909, allocations: 1.125 kB / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.691, allocations: 8.656 kB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.6911, allocations: 14.7 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.6911, allocations: 6.547 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.6912, allocations: 93.7 kB / 0.9554 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6912, allocations: 4 kB / 0.9554 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003326/0.6915, allocations: 43.19 kB / 0.9554 GB, free: 3.582 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 (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.0003299/0.6918, allocations: 164.8 kB / 0.9556 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.6921, allocations: 95.88 kB / 0.9557 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6922, allocations: 0 / 0.9557 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.6923, allocations: 46.72 kB / 0.9557 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.6926, allocations: 13.12 kB / 0.9557 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.693, allocations: 221.1 kB / 0.9559 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.6932, allocations: 0.6899 MB / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.6932, allocations: 7.625 kB / 0.9566 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.6933, allocations: 10.84 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6933, allocations: 4 kB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.004688/0.698, allocations: 1.663 MB / 0.9582 GB, free: 1.629 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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