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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001198/0.001198, 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.001284/0.001284, allocations: 195 kB / 16.14 MB, free: 6.656 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002288, allocations: 63.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7527, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003464/0.7562, allocations: 1.702 MB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.7579, allocations: 0.7948 MB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.758, allocations: 3.938 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.758, allocations: 3.938 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.943e-05/0.7582, allocations: 19.84 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.7588, allocations: 127.7 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.7591, allocations: 147.5 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.7592, allocations: 25.11 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.7594, allocations: 55.83 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.7595, allocations: 75.72 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.7595, allocations: 8 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.7598, allocations: 91.84 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.7598, allocations: 35.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.7599, allocations: 55.72 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.7603, allocations: 205.4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7603, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7603, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7603, allocations: 0 / 1.02 GB, free: 15.41 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.0008779/0.7612, allocations: 0.5368 MB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7612, allocations: 8.031 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.7613, allocations: 12.84 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.7615, allocations: 199.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.7615, allocations: 4.375 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.7615, allocations: 8.375 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.762, allocations: 137.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.762, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.762, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.762, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.7625, allocations: 103.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.7633, allocations: 388.5 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.7637, allocations: 98.5 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.764, allocations: 84.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.764, allocations: 3.984 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.7645, allocations: 143.2 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.7645, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001131/0.7657, allocations: 301.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.7657, allocations: 63.5 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.7659, allocations: 145.5 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.7659, allocations: 29.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.766, allocations: 104.3 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.766, allocations: 31.8 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.7661, allocations: 33.7 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7662, allocations: 322.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.7664, allocations: 39.97 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.7665, allocations: 89.05 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.7668, allocations: 113 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7668, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003647/0.7672, allocations: 165.4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7672, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7672, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.7673, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.7674, allocations: 20.11 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7674, allocations: 11.92 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.7676, allocations: 19.83 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.7676, allocations: 4 kB / 1.023 GB, free: 11.93 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.0001097/0.7677, allocations: 133.9 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.7678, allocations: 7.906 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.7678, allocations: 9.094 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7678, allocations: 4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.7678, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7678, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.7688, allocations: 0.5255 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7688, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.7689, allocations: 15.92 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7689, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.7689, allocations: 7.984 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.7689, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7689, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.7697, allocations: 335.1 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.7697, allocations: 81.02 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.7698, allocations: 4 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.77, allocations: 27.91 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.7701, allocations: 11.98 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.7701, allocations: 11.92 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.664e-05/0.7702, allocations: 108.9 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7702, allocations: 0 / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003651/0.7705, allocations: 51.92 kB / 1.024 GB, free: 10.51 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.0004376/0.771, allocations: 166.4 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.7715, allocations: 140 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7715, allocations: 4.062 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.7719, allocations: 87.92 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.7722, allocations: 13.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.7729, allocations: 290 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.7731, allocations: 0.7004 MB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.7732, allocations: 4 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.7732, allocations: 15.42 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.7732, allocations: 3.938 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of Templates: time 0.004911/0.7782, allocations: 1.862 MB / 1.027 GB, free: 7.207 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/jenkins/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