Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000797/0.000797, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 177 kB / 16.92 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.000362, allocations: 12 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6408, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001739/0.6426, allocations: 1.359 MB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.644, allocations: 0.7754 MB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.644, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.6441, allocations: 7.922 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.6442, allocations: 23.8 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.6447, allocations: 127.7 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.6449, allocations: 151.5 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.645, allocations: 17.12 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.6451, allocations: 59.81 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.6452, allocations: 67.73 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.6452, allocations: 4 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.6454, allocations: 99.84 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.6455, allocations: 27.89 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.6456, allocations: 81.41 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.6458, allocations: 145.6 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6458, allocations: 4 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6458, allocations: 4 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.6458, allocations: 0 / 1.027 GB, free: 12.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007175/0.6465, allocations: 0.5213 MB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6466, allocations: 8.031 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.6466, allocations: 16.83 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.6468, allocations: 194.4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.6468, allocations: 4.375 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.6468, allocations: 4.375 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.6473, allocations: 165.7 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6473, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.6474, allocations: 8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6474, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.6478, allocations: 123.9 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.6486, allocations: 384.6 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.649, allocations: 126.4 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.6493, allocations: 100.8 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.6494, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.6498, allocations: 159.3 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.976e-06/0.6498, allocations: 4.109 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001171/0.651, allocations: 361.2 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6511, allocations: 55.41 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6512, allocations: 150.4 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6512, allocations: 25.7 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.6513, allocations: 104.3 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.6513, allocations: 27.64 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.6513, allocations: 17.72 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.6514, allocations: 330.8 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.6516, allocations: 43.97 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.6518, allocations: 93.11 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.6521, allocations: 129 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6521, allocations: 4 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003793/0.6524, allocations: 169.5 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6525, allocations: 12 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6525, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6525, allocations: 4 kB / 1.03 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.6527, allocations: 23.92 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6527, allocations: 0 / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.6528, allocations: 27.83 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.6528, allocations: 4.094 kB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.0001051/0.6529, allocations: 143.5 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.653, allocations: 7.906 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.653, allocations: 8.719 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.653, allocations: 4 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.653, allocations: 0 / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.653, allocations: 0 / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6541, allocations: 0.5531 MB / 1.031 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6541, allocations: 0 / 1.031 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.6542, allocations: 19.98 kB / 1.031 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6542, allocations: 4 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.6542, allocations: 8.453 kB / 1.031 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6542, allocations: 3.938 kB / 1.031 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6542, allocations: 0 / 1.031 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.6551, allocations: 363.1 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.6551, allocations: 85.02 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.6552, allocations: 8 kB / 1.031 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.6554, allocations: 31.84 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6555, allocations: 11.98 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.6555, allocations: 11.98 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.6556, allocations: 105.5 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6556, allocations: 0 / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003266/0.6559, allocations: 51.92 kB / 1.031 GB, free: 7.777 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003474/0.6562, allocations: 173.2 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.6568, allocations: 163.9 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6568, allocations: 0 / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.6572, allocations: 108.1 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.6575, allocations: 13.36 kB / 1.032 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.6582, allocations: 330.8 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6584, allocations: 0.7004 MB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6585, allocations: 15.42 kB / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6585, allocations: 0 / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.003946/0.6624, allocations: 2.126 MB / 1.035 GB, free: 4.121 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches