Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001018/0.001018, allocations: 99.42 kB / 16.02 MB, free: 76 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.001326/0.001326, allocations: 185.1 kB / 16.92 MB, free: 6.688 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003212, allocations: 12.28 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6535, allocations: 142.4 MB / 0.9557 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001507/0.6551, allocations: 1.353 MB / 0.957 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.6562, allocations: 0.7811 MB / 0.9578 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.6562, allocations: 0.9062 kB / 0.9578 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.6562, allocations: 7.922 kB / 0.9578 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.6563, allocations: 14.95 kB / 0.9578 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.6568, allocations: 131.3 kB / 0.9579 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.6569, allocations: 151.2 kB / 0.9581 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.657, allocations: 19.27 kB / 0.9581 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.6571, allocations: 59.06 kB / 0.9582 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.6572, allocations: 73.72 kB / 0.9582 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.6573, allocations: 11 kB / 0.9582 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.6574, allocations: 92.12 kB / 0.9583 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.6575, allocations: 29.83 kB / 0.9584 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.6575, allocations: 85.06 kB / 0.9584 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.6577, allocations: 144.4 kB / 0.9586 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.6577, allocations: 0 / 0.9586 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6577, allocations: 3.938 kB / 0.9586 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6577, allocations: 0 / 0.9586 GB, free: 5.852 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005966/0.6583, allocations: 0.5156 MB / 0.9591 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6584, allocations: 12.61 kB / 0.9591 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.6584, allocations: 11 kB / 0.9591 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.6585, allocations: 186.4 kB / 0.9593 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.6586, allocations: 8.656 kB / 0.9593 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.6586, allocations: 4.969 kB / 0.9593 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.659, allocations: 165.2 kB / 0.9595 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6591, allocations: 0 / 0.9595 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.6591, allocations: 1.781 kB / 0.9595 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6591, allocations: 0 / 0.9595 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.6595, allocations: 132.4 kB / 0.9596 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.6602, allocations: 393 kB / 0.96 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.6606, allocations: 113.6 kB / 0.9601 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.6609, allocations: 105.2 kB / 0.9602 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.6609, allocations: 1.375 kB / 0.9602 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.6613, allocations: 158.3 kB / 0.9603 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.6613, allocations: 1.312 kB / 0.9603 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001152/0.6625, allocations: 352.6 kB / 0.9607 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.6625, allocations: 53.28 kB / 0.9607 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.6626, allocations: 148.7 kB / 0.9608 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.6627, allocations: 30.7 kB / 0.9609 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.6627, allocations: 104.6 kB / 0.961 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.6627, allocations: 23.77 kB / 0.961 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.6628, allocations: 25.67 kB / 0.961 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.6628, allocations: 321.8 kB / 0.9613 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.663, allocations: 53.73 kB / 0.9614 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.6631, allocations: 90.41 kB / 0.9615 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.6634, allocations: 140.2 kB / 0.9616 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6634, allocations: 112 / 0.9616 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003472/0.6638, allocations: 177.2 kB / 0.9618 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.6638, allocations: 9.438 kB / 0.9618 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6638, allocations: 1.375 kB / 0.9618 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6638, allocations: 2.75 kB / 0.9618 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.664, allocations: 27.83 kB / 0.9618 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.664, allocations: 6.812 kB / 0.9618 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.6641, allocations: 17.89 kB / 0.9618 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6641, allocations: 8.469 kB / 0.9618 GB, free: 3.148 MB / 0.7169 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 7.784e-05/0.6642, allocations: 132 kB / 0.962 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6642, allocations: 12.16 kB / 0.962 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.6643, allocations: 11.78 kB / 0.962 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6643, allocations: 4.875 kB / 0.962 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6643, allocations: 1.031 kB / 0.962 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6643, allocations: 0 / 0.962 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.6653, allocations: 0.5532 MB / 0.9625 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6653, allocations: 0 / 0.9625 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.6654, allocations: 15.14 kB / 0.9625 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6654, allocations: 5.375 kB / 0.9626 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.6654, allocations: 5.297 kB / 0.9626 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6654, allocations: 5.219 kB / 0.9626 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6654, allocations: 0 / 0.9626 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.6662, allocations: 364.7 kB / 0.9629 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.6662, allocations: 84.23 kB / 0.963 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.6662, allocations: 5.969 kB / 0.963 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.6665, allocations: 31.06 kB / 0.963 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.6666, allocations: 11.64 kB / 0.963 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6666, allocations: 6.797 kB / 0.963 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.6667, allocations: 107.6 kB / 0.9631 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6667, allocations: 0 / 0.9631 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003185/0.667, allocations: 55.64 kB / 0.9632 GB, free: 2.059 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: 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.0003175/0.6673, allocations: 167 kB / 0.9634 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.6679, allocations: 167.2 kB / 0.9635 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6679, allocations: 1.312 kB / 0.9635 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.6682, allocations: 106.3 kB / 0.9636 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.6685, allocations: 17.47 kB / 0.9636 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.6692, allocations: 340.5 kB / 0.964 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.6693, allocations: 0.6958 MB / 0.9646 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.6693, allocations: 19.45 kB / 0.9647 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6693, allocations: 192 / 0.9647 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of Templates: time 0.003908/0.6732, allocations: 2.127 MB / 0.9667 GB, free: 15.73 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches