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.001314/0.001314, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001571/0.001571, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.605/2.605, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7757, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003061/0.7788, allocations: 1.702 MB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.7802, allocations: 0.7909 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.7803, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.7803, allocations: 3.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.7804, allocations: 23.78 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.7811, allocations: 131.7 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.7813, allocations: 155.5 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.7814, allocations: 25.09 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.7815, allocations: 59.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.7816, allocations: 83.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.7817, allocations: 12 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.7819, allocations: 99.84 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.7819, allocations: 39.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.782, allocations: 63.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.7823, allocations: 209.3 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7823, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7823, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7823, allocations: 0 / 1.02 GB, free: 15.3 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.0008487/0.7832, allocations: 0.5407 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7832, allocations: 12.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.7833, allocations: 12.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.7834, allocations: 197.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.7835, allocations: 4.375 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.7835, allocations: 8.375 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.784, allocations: 137.9 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.784, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.784, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.784, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.7844, allocations: 95.91 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.7852, allocations: 392.5 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.7856, allocations: 98.5 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.7859, allocations: 80.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.7859, allocations: 7.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.7865, allocations: 139.2 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.7865, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001103/0.7876, allocations: 305.3 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.7877, allocations: 59.5 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.7878, allocations: 144.1 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.7879, allocations: 29.7 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.7879, allocations: 112.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.788, allocations: 19.66 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.788, allocations: 33.7 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.7882, allocations: 323.1 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.7884, allocations: 39.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7885, allocations: 89.11 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.7888, allocations: 121 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7888, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003879/0.7892, allocations: 161.5 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7893, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7893, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7893, allocations: 4.125 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7895, allocations: 23.98 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.7895, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.7896, allocations: 15.92 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.7896, allocations: 4 kB / 1.023 GB, free: 11.83 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.0001138/0.7897, allocations: 134.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.7898, allocations: 11.81 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.7898, allocations: 16.72 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7898, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7898, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7898, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.7909, allocations: 0.5257 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7909, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.791, allocations: 11.98 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.791, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.791, allocations: 3.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.791, allocations: 3.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.791, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.7918, allocations: 335.1 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.7918, allocations: 85.02 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.7919, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.7921, allocations: 23.91 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.7921, allocations: 15.92 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.7922, allocations: 11.92 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.523e-05/0.7923, allocations: 106.1 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7923, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000346/0.7926, allocations: 55.86 kB / 1.024 GB, free: 10.4 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.0003985/0.793, allocations: 166.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.7936, allocations: 147.9 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7936, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.7939, allocations: 83.92 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.7942, allocations: 16.72 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.7949, allocations: 284.6 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.7952, allocations: 0.7043 MB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.7953, allocations: 7.984 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.7953, allocations: 19.36 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7953, allocations: 0 / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.004861/0.8002, allocations: 1.911 MB / 1.028 GB, free: 7.043 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