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.001495/0.001495, 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.001746/0.001746, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.609 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 3.023/3.023, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7691, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003394/0.7726, allocations: 1.7 MB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.7741, allocations: 0.8064 MB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.7742, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.7743, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.7743, allocations: 23.78 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.7749, allocations: 127.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.7751, allocations: 143.5 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.7752, allocations: 25.09 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.7753, allocations: 59.83 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.7754, allocations: 75.72 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.7755, allocations: 8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.7757, allocations: 91.84 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.7757, allocations: 35.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.7758, allocations: 59.69 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.7761, allocations: 197.4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7762, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7762, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7762, allocations: 3.938 kB / 1.02 GB, free: 15.43 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.0008901/0.7771, allocations: 0.5369 MB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7771, allocations: 8.031 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.7772, allocations: 16.84 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7773, allocations: 187.9 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.7774, allocations: 8.375 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.7774, allocations: 4.375 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.7779, allocations: 149.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.7779, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7779, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.778, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.7784, allocations: 99.91 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.7792, allocations: 384.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.7796, allocations: 106.4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.7799, allocations: 84.78 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.7799, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.7804, allocations: 139.3 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.7804, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001214/0.7817, allocations: 301.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.7817, allocations: 67.33 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.7819, allocations: 141.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.7819, allocations: 33.64 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.782, allocations: 108.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.7821, allocations: 27.64 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.7821, allocations: 29.7 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7823, allocations: 326.8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.7824, allocations: 39.97 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.7826, allocations: 81.12 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.7829, allocations: 125.4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7829, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003631/0.7833, allocations: 153.4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7833, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7833, allocations: 3.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7834, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.7835, allocations: 28.05 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7836, allocations: 7.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.7837, allocations: 15.84 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.7837, allocations: 7.984 kB / 1.023 GB, free: 11.96 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.0001348/0.7838, allocations: 129.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.7839, allocations: 7.906 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.7839, allocations: 8.719 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7839, allocations: 8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7839, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.784, allocations: 3.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.785, allocations: 0.5219 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.785, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.7851, allocations: 11.98 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7851, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.7851, allocations: 11.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7851, allocations: 3.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7851, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.7859, allocations: 331.1 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.786, allocations: 85.02 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.786, allocations: 4 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.7863, allocations: 27.91 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.7863, allocations: 11.98 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.7864, allocations: 3.984 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.39e-05/0.7865, allocations: 112.8 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7865, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003633/0.7868, allocations: 51.92 kB / 1.024 GB, free: 10.54 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.0004623/0.7873, allocations: 170.4 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.7879, allocations: 140 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7879, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.7882, allocations: 91.86 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.7885, allocations: 12.73 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.7892, allocations: 282.2 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.7896, allocations: 0.7004 MB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.69e-05/0.7897, allocations: 4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.7897, allocations: 15.42 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of SimCode: time 2.204e-06/0.7897, allocations: 192 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of Templates: time 0.005193/0.7949, allocations: 1.88 MB / 1.027 GB, free: 7.223 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=400 -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