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.001799/0.001799, 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.001943/0.001943, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.436/2.436, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6966, allocations: 140.3 MB / 0.9489 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002796/0.6994, allocations: 1.574 MB / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.7008, allocations: 0.7654 MB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.7008, allocations: 1.25 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.7009, allocations: 3.938 kB / 0.9512 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.649e-05/0.701, allocations: 13.14 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.7015, allocations: 110.3 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.7017, allocations: 98.17 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7018, allocations: 25.78 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.7019, allocations: 35.69 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.702, allocations: 55.66 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.7021, allocations: 6.469 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.7023, allocations: 86 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.7023, allocations: 27.67 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.7024, allocations: 31.39 kB / 0.9517 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.7026, allocations: 168.3 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7026, allocations: 0 / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7027, allocations: 0 / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.7027, allocations: 5.344 kB / 0.9518 GB, free: 7.141 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.0006346/0.7033, allocations: 462.5 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7034, allocations: 9.469 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.7034, allocations: 9.594 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.7035, allocations: 175.5 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.7036, allocations: 6.562 kB / 0.9525 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.7036, allocations: 5.094 kB / 0.9525 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.7039, allocations: 95.56 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7039, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.7039, allocations: 9.016 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.7039, allocations: 0.9375 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.7042, allocations: 45.91 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.7049, allocations: 347.2 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.7051, allocations: 66.09 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.7053, allocations: 44.92 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.7053, allocations: 2 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.7056, allocations: 95.08 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.7056, allocations: 1.656 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.7061, allocations: 182.9 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.7062, allocations: 53.59 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.7063, allocations: 132.5 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.7063, allocations: 31.55 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.7063, allocations: 97.86 kB / 0.9536 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.7063, allocations: 14.94 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.7064, allocations: 30.92 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.7064, allocations: 325.7 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.7065, allocations: 35.42 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.7066, allocations: 73.14 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.7068, allocations: 88.12 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7068, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002509/0.7071, allocations: 136.9 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7071, allocations: 5.219 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7071, allocations: 2.531 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7071, allocations: 5.25 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.7073, allocations: 18.73 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.7073, allocations: 1.125 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.7074, allocations: 8.625 kB / 0.9543 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.7074, allocations: 12.11 kB / 0.9543 GB, free: 4.801 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.046e-05/0.7075, allocations: 123.6 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.7075, allocations: 7.656 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.7075, allocations: 10.72 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7075, allocations: 1.219 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7075, allocations: 0 / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7075, allocations: 3.984 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.7081, allocations: 436.1 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7081, allocations: 0 / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.7081, allocations: 3.562 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7081, allocations: 5.047 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7081, allocations: 1.156 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7082, allocations: 1.328 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7082, allocations: 7.922 kB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.7085, allocations: 247.7 kB / 0.9552 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.7086, allocations: 86.91 kB / 0.9552 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7086, allocations: 1.469 kB / 0.9552 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.7087, allocations: 12.17 kB / 0.9553 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.7088, allocations: 6.781 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.7088, allocations: 6.828 kB / 0.9553 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.7089, allocations: 95.05 kB / 0.9554 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7089, allocations: 5.531 kB / 0.9554 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003352/0.7092, allocations: 38.06 kB / 0.9554 GB, free: 3.844 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.0003397/0.7096, allocations: 167.9 kB / 0.9556 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.7099, allocations: 95.78 kB / 0.9556 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7099, allocations: 0 / 0.9556 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.71, allocations: 50.34 kB / 0.9557 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.7103, allocations: 10.91 kB / 0.9557 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.7108, allocations: 221.7 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7109, allocations: 0.6898 MB / 0.9566 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.711, allocations: 7 kB / 0.9566 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.711, allocations: 15.66 kB / 0.9566 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.711, allocations: 4 kB / 0.9566 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.004686/0.7157, allocations: 1.655 MB / 0.9582 GB, free: 1.887 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