Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002558/0.002558, allocations: 213.2 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 72.58 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003159/0.3293, allocations: 1.645 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.331, allocations: 0.7908 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.3311, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.3312, allocations: 15.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.71e-05/0.3312, allocations: 23.73 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.3319, allocations: 175.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3321, allocations: 167.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.3322, allocations: 17.56 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.3324, allocations: 87.75 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3325, allocations: 71.73 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.3326, allocations: 15.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3329, allocations: 135.8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.3329, allocations: 47.83 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.333, allocations: 67.58 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3334, allocations: 266.9 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3334, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3334, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.3334, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001053/0.3345, allocations: 0.5439 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3345, allocations: 8.031 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.3354, allocations: 88.72 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3358, allocations: 167.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3358, allocations: 8.375 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3358, allocations: 4.375 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.3364, allocations: 274.9 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3364, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.3365, allocations: 7.938 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3365, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3369, allocations: 164.3 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.3378, allocations: 337 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.3382, allocations: 158.4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.3386, allocations: 156.5 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3387, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.3393, allocations: 271.2 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.3393, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001616/0.3409, allocations: 0.6827 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.341, allocations: 95.44 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3412, allocations: 175.9 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3412, allocations: 57.67 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.3413, allocations: 109.2 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3414, allocations: 115.1 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.3416, allocations: 98.11 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3417, allocations: 350.7 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.3421, allocations: 193 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.3425, allocations: 276.7 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000817/0.3433, allocations: 0.5106 MB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3433, allocations: 0 / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009609/0.3443, allocations: 0.5608 MB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3443, allocations: 8 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3443, allocations: 3.984 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3443, allocations: 4 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3445, allocations: 32.11 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.3445, allocations: 8 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3447, allocations: 47.7 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3447, allocations: 15.92 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 75 (win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],win.ran,$PRE.win.ran,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 (47): * Single equations (assignments): 46 * Array equations: 1 * 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.000231/0.345, allocations: 211.4 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.345, allocations: 19.86 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.345, allocations: 18.98 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.345, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.345, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.3451, allocations: 23.8 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.3451, allocations: 31.98 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3454, allocations: 35.89 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.3454, allocations: 11.98 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/0.3466, allocations: 0.5334 MB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001122/0.3477, allocations: 0.6367 MB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003761/0.3481, allocations: 155.7 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.177e-05/0.3482, allocations: 108 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of Backend: time 3.6e-07/0.3482, allocations: 0 / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.3492, allocations: 398 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008133/0.35, allocations: 0.788 MB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of Templates: time 0.00717/0.3572, allocations: 3.197 MB / 1.342 GB, free: 1.594 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.66963270699489]