Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001067/0.001067, allocations: 109.9 kB / 16.37 MB, free: 6.012 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.001024/0.001025, allocations: 194.8 kB / 17.31 MB, free: 5.613 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.4/2.4, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 57.75 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002593/0.2705, allocations: 1.656 MB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2718, allocations: 0.7945 MB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.2718, allocations: 7.938 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.2719, allocations: 11.86 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.2719, allocations: 19.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.2725, allocations: 147.6 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2726, allocations: 155.5 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.2727, allocations: 29.11 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2728, allocations: 71.75 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.273, allocations: 71.72 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.273, allocations: 16 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2732, allocations: 99.91 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.2732, allocations: 35.89 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.2733, allocations: 63.66 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2736, allocations: 211.4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2736, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2736, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2736, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 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.000722/0.2743, allocations: 0.5408 MB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2744, allocations: 8.031 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.2744, allocations: 8.844 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2745, allocations: 189.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2746, allocations: 12.38 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2746, allocations: 8.312 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.275, allocations: 145.8 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.275, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.2751, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2751, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.2755, allocations: 111.9 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.2762, allocations: 380.5 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.2765, allocations: 102.5 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.2768, allocations: 88.78 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2769, allocations: 4.156 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.2773, allocations: 147.2 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.572e-06/0.2773, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001041/0.2783, allocations: 305.3 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2784, allocations: 51.41 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2785, allocations: 152 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2786, allocations: 29.7 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2786, allocations: 100.4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.2787, allocations: 23.66 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.2787, allocations: 30.08 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2788, allocations: 334.8 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.279, allocations: 36.08 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2791, allocations: 85.05 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.2794, allocations: 125 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2794, allocations: 3.938 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003437/0.2797, allocations: 153.4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2798, allocations: 10.97 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2798, allocations: 3.984 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2798, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.28, allocations: 15.98 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.28, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2801, allocations: 15.89 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.2801, allocations: 12.12 kB / 1.033 GB, free: 11.18 MB / 0.8106 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 9.225e-05/0.2802, allocations: 125.7 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2802, allocations: 7.906 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.2803, allocations: 16.7 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2803, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2803, allocations: 4 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2803, allocations: 4 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/0.2812, allocations: 0.5216 MB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2813, allocations: 4 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.2813, allocations: 15.98 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2814, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2814, allocations: 0 / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2814, allocations: 7.922 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2814, allocations: 4 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.2821, allocations: 323.1 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.2822, allocations: 85.11 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2822, allocations: 7.984 kB / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2824, allocations: 27.89 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2825, allocations: 11.98 kB / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2825, allocations: 8.188 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.2826, allocations: 109.9 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2826, allocations: 3.938 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003093/0.2829, allocations: 47.94 kB / 1.034 GB, free: 9.754 MB / 0.8106 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.0002895/0.2832, allocations: 152.2 kB / 1.035 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.2837, allocations: 143.8 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2837, allocations: 0 / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.284, allocations: 100.1 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2843, allocations: 5.875 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.2849, allocations: 264.5 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2852, allocations: 0.7002 MB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.2852, allocations: 11.92 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2853, allocations: 11.44 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2853, allocations: 3.938 kB / 1.036 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of Templates: time 0.004532/0.2898, allocations: 2.008 MB / 1.038 GB, free: 6.34 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches