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.001457/0.001457, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001573/0.001573, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 4.559 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.35/2.35, allocations: 390.2 MB / 0.665 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6618, allocations: 140.3 MB / 0.9498 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002708/0.6646, allocations: 1.581 MB / 0.9513 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.6658, allocations: 0.7438 MB / 0.952 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.6658, allocations: 0 / 0.952 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.6659, allocations: 3.938 kB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.6659, allocations: 18.78 kB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.6665, allocations: 123.6 kB / 0.9522 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.6666, allocations: 106.4 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.6667, allocations: 14.47 kB / 0.9523 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.6668, allocations: 47.41 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.6669, allocations: 51.72 kB / 0.9524 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.6669, allocations: 13.72 kB / 0.9524 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.6671, allocations: 96.03 kB / 0.9525 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.6671, allocations: 27.69 kB / 0.9525 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.6672, allocations: 47.67 kB / 0.9526 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6674, allocations: 115.9 kB / 0.9527 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6674, allocations: 4 kB / 0.9527 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6674, allocations: 1.312 kB / 0.9527 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6674, allocations: 0 / 0.9527 GB, free: 7.02 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.0005872/0.668, allocations: 462.9 kB / 0.9531 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.668, allocations: 10.31 kB / 0.9531 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.6681, allocations: 8.688 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.6682, allocations: 176.5 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6682, allocations: 7.781 kB / 0.9533 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.6682, allocations: 3.375 kB / 0.9533 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.6685, allocations: 91.84 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6685, allocations: 0 / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.6685, allocations: 5.234 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6685, allocations: 5.188 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.6687, allocations: 53.84 kB / 0.9535 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.6694, allocations: 342.2 kB / 0.9538 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6696, allocations: 62.36 kB / 0.9538 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.6697, allocations: 49.36 kB / 0.9539 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.6697, allocations: 1.219 kB / 0.9539 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.67, allocations: 93.17 kB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.67, allocations: 4 kB / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000556/0.6706, allocations: 179.2 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6706, allocations: 53.78 kB / 0.9542 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.6707, allocations: 139.2 kB / 0.9543 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6707, allocations: 27.02 kB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.6708, allocations: 98.77 kB / 0.9545 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.6708, allocations: 23.47 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.6709, allocations: 31.36 kB / 0.9545 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.6709, allocations: 324.2 kB / 0.9548 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.671, allocations: 32.77 kB / 0.9549 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.6711, allocations: 60.33 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.6713, allocations: 91.44 kB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6713, allocations: 1.188 kB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002379/0.6715, allocations: 132.6 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6715, allocations: 9.156 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6716, allocations: 1.906 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6716, allocations: 1.938 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.6717, allocations: 14.23 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6717, allocations: 1.75 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.6718, allocations: 16.41 kB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.6718, allocations: 8.703 kB / 0.9552 GB, free: 4.688 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.484e-05/0.6719, allocations: 128.7 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.6719, allocations: 7.25 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.6719, allocations: 9.531 kB / 0.9553 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6719, allocations: 1.844 kB / 0.9553 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.672, allocations: 0 / 0.9553 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.672, allocations: 3.984 kB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.6725, allocations: 432.2 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6725, allocations: 7.984 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.6725, allocations: 3.812 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6725, allocations: 3.984 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6726, allocations: 2.469 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6726, allocations: 0 / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6726, allocations: 3.938 kB / 0.9558 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.6729, allocations: 252.5 kB / 0.956 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.673, allocations: 91.55 kB / 0.9561 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.673, allocations: 1.156 kB / 0.9561 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6731, allocations: 7.641 kB / 0.9561 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.6732, allocations: 7.406 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6732, allocations: 10.33 kB / 0.9561 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.6732, allocations: 98.27 kB / 0.9562 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6733, allocations: 0 / 0.9562 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003246/0.6736, allocations: 42.38 kB / 0.9562 GB, free: 3.715 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.0003457/0.6739, allocations: 154.3 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.6742, allocations: 100.6 kB / 0.9565 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6743, allocations: 0 / 0.9565 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.6744, allocations: 50.78 kB / 0.9565 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.6747, allocations: 17.75 kB / 0.9566 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.6751, allocations: 244.7 kB / 0.9568 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.6752, allocations: 0.6935 MB / 0.9575 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.6753, allocations: 11.44 kB / 0.9575 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6753, allocations: 0 / 0.9575 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.003326/0.6786, allocations: 1.807 MB / 0.9592 GB, free: 1.664 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches