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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008107/0.008107, allocations: 98.91 kB / 15.73 MB, free: 5.984 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.001909/0.001909, allocations: 197.8 kB / 16.68 MB, free: 5.922 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 58.53 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00297/0.335, allocations: 1.64 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3365, allocations: 0.796 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.3366, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.3366, allocations: 11.86 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.3367, allocations: 19.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.3373, allocations: 151.6 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3375, allocations: 155.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3376, allocations: 29.09 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3378, allocations: 67.77 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3379, allocations: 75.72 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.3379, allocations: 16 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3381, allocations: 99.91 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.3382, allocations: 35.88 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.3382, allocations: 63.72 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3385, allocations: 215.3 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3385, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3385, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3385, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 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.000789/0.3393, allocations: 0.5368 MB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3394, allocations: 8.031 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.3394, allocations: 12.84 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3396, allocations: 184.1 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3396, allocations: 8.312 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.3396, allocations: 8.375 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.3401, allocations: 137.9 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3401, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3401, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3401, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.3405, allocations: 107.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.3413, allocations: 388.5 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.3416, allocations: 94.5 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3419, allocations: 92.78 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.342, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.3424, allocations: 159.1 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.3424, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001014/0.3434, allocations: 301.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3434, allocations: 55.41 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3436, allocations: 149.6 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3436, allocations: 33.7 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.3437, allocations: 100.4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3437, allocations: 27.8 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.3438, allocations: 33.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3439, allocations: 326.8 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.344, allocations: 35.97 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3442, allocations: 81.11 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3444, allocations: 121 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3444, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003497/0.3448, allocations: 157.4 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3448, allocations: 8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3448, allocations: 7.922 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3449, allocations: 4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.345, allocations: 15.98 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.345, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3451, allocations: 16.02 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3452, allocations: 8 kB / 1.094 GB, free: 10.66 MB / 0.8575 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.892e-05/0.3453, allocations: 125.7 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3453, allocations: 7.906 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.3453, allocations: 16.81 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3454, allocations: 3.938 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3454, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3454, allocations: 4 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.3463, allocations: 0.5336 MB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3464, allocations: 0 / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.3464, allocations: 15.98 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3465, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3465, allocations: 3.984 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3465, allocations: 3.938 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3465, allocations: 4 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.3472, allocations: 323.2 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.3473, allocations: 85.02 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3473, allocations: 3.984 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3475, allocations: 27.91 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.3476, allocations: 11.98 kB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3476, allocations: 4 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.3477, allocations: 108.7 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3477, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000338/0.348, allocations: 44 kB / 1.096 GB, free: 9.246 MB / 0.8575 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.0003336/0.3484, allocations: 176 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.3489, allocations: 139.8 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3489, allocations: 4 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.3492, allocations: 92.11 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3495, allocations: 14.12 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.3501, allocations: 272.3 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3504, allocations: 0.6963 MB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.3504, allocations: 7.984 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.3505, allocations: 15.44 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3505, allocations: 3.938 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.00494/0.3554, allocations: 2.071 MB / 1.099 GB, free: 5.73 MB / 0.8575 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/jenkins/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