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.001577/0.001576, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01063/0.01063, allocations: 169.8 kB / 16.27 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.492/2.492, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.6973, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001509/0.6988, allocations: 1.232 MB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.7, allocations: 0.738 MB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.7001, allocations: 9.188 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.7001, allocations: 3.984 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.7002, allocations: 9.281 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.7007, allocations: 118.3 kB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.7008, allocations: 94.41 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.7009, allocations: 14.64 kB / 0.9572 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.701, allocations: 50.14 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.7011, allocations: 43.67 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.7011, allocations: 4.688 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.7013, allocations: 92.28 kB / 0.9574 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.7013, allocations: 23.45 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.7014, allocations: 64.2 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.7016, allocations: 156.1 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7016, allocations: 0 / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.7016, allocations: 0 / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7017, allocations: 7.375 kB / 0.9576 GB, free: 5.727 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.0005498/0.7022, allocations: 448.4 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7023, allocations: 9.312 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.7023, allocations: 9 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.7024, allocations: 177 kB / 0.9582 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.7025, allocations: 6.625 kB / 0.9582 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.7025, allocations: 8.547 kB / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.7027, allocations: 99 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7028, allocations: 0 / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.7028, allocations: 4 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7028, allocations: 1.312 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.703, allocations: 51.19 kB / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.7037, allocations: 354.8 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.7039, allocations: 68.44 kB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.704, allocations: 48.8 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.7041, allocations: 1.188 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.7043, allocations: 94.48 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.7043, allocations: 4 kB / 0.9589 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.7049, allocations: 197.5 kB / 0.9591 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.7049, allocations: 54.12 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.705, allocations: 126.5 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.705, allocations: 31.08 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.7051, allocations: 103.7 kB / 0.9594 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.7051, allocations: 14.94 kB / 0.9594 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.7052, allocations: 26.33 kB / 0.9595 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.7052, allocations: 320.3 kB / 0.9598 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.7053, allocations: 34.69 kB / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.7054, allocations: 71.47 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.7056, allocations: 105.5 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7056, allocations: 1.375 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000258/0.7059, allocations: 137.9 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7059, allocations: 5.5 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7059, allocations: 1.375 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7059, allocations: 6.844 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.706, allocations: 18.92 kB / 0.9601 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.706, allocations: 1.375 kB / 0.9601 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.7061, allocations: 10.81 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.7061, allocations: 8.125 kB / 0.9602 GB, free: 3.395 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.167e-05/0.7062, allocations: 124.5 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.7062, allocations: 6.656 kB / 0.9603 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.7063, allocations: 15.12 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.7063, allocations: 1.375 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.7063, allocations: 0 / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7063, allocations: 0 / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.7068, allocations: 444.8 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7068, allocations: 4 kB / 0.9607 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.7069, allocations: 5.5 kB / 0.9607 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.7069, allocations: 0 / 0.9607 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.7069, allocations: 5.359 kB / 0.9607 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7069, allocations: 1.375 kB / 0.9607 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7069, allocations: 3.938 kB / 0.9607 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.7073, allocations: 250.1 kB / 0.961 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.7073, allocations: 82.39 kB / 0.9611 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.7073, allocations: 9.359 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7075, allocations: 5.5 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.7075, allocations: 10.67 kB / 0.9611 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.7075, allocations: 2.75 kB / 0.9611 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.7076, allocations: 102.3 kB / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7076, allocations: 0 / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003266/0.7079, allocations: 39.3 kB / 0.9612 GB, free: 2.438 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.0003538/0.7083, allocations: 174.9 kB / 0.9614 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.7086, allocations: 97.92 kB / 0.9615 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7086, allocations: 0 / 0.9615 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.7088, allocations: 53.81 kB / 0.9615 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.7091, allocations: 13.45 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.7095, allocations: 235.7 kB / 0.9618 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.7097, allocations: 0.6904 MB / 0.9624 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.7097, allocations: 11.72 kB / 0.9625 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.7097, allocations: 14.47 kB / 0.9625 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.7097, allocations: 0 / 0.9625 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.004961/0.7147, allocations: 1.644 MB / 0.9641 GB, free: 480 kB / 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