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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 109 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 186.2 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.973, allocations: 160.8 MB / 1.218 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003277/0.9762, allocations: 1.659 MB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.9779, allocations: 0.8086 MB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.9779, allocations: 1.375 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.978, allocations: 7.875 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.9781, allocations: 30.47 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.9788, allocations: 158.8 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.979, allocations: 159.2 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.9791, allocations: 16.05 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.9792, allocations: 68.22 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.9794, allocations: 74.83 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.9794, allocations: 13.88 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.9797, allocations: 143.9 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.9798, allocations: 41.23 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.9799, allocations: 57.5 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.9802, allocations: 209 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9802, allocations: 3.938 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9802, allocations: 3.938 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.9802, allocations: 0 / 1.222 GB, free: 0.9883 MB / 0.92 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.0009414/0.9811, allocations: 0.5397 MB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9812, allocations: 9.938 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.9812, allocations: 14.17 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.9814, allocations: 196.6 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.9814, allocations: 3.25 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.9815, allocations: 12.67 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.9819, allocations: 144.4 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9819, allocations: 0 / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.982, allocations: 8 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.982, allocations: 1.969 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.9824, allocations: 103.4 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.9832, allocations: 380.2 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.9836, allocations: 93.38 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.9839, allocations: 92.28 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.9839, allocations: 5.484 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004876/0.9844, allocations: 141.6 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.9844, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001165/0.9856, allocations: 306.7 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.9856, allocations: 57.69 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.9858, allocations: 145 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.9858, allocations: 31.2 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.9859, allocations: 101.2 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.9859, allocations: 27.16 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.986, allocations: 35.02 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9862, allocations: 324.9 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.9863, allocations: 39.94 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.9865, allocations: 84 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.9867, allocations: 118.5 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9867, allocations: 4 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003744/0.9871, allocations: 159.9 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9871, allocations: 5.438 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9871, allocations: 1.125 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9871, allocations: 2.406 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.9873, allocations: 25.81 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.9873, allocations: 6.312 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.9874, allocations: 15.16 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.9874, allocations: 4.656 kB / 1.225 GB, free: 14.28 MB / 0.9356 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.0001252/0.9876, allocations: 130.2 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.9876, allocations: 8.953 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.9876, allocations: 14.86 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9876, allocations: 5.156 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9876, allocations: 1.172 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9877, allocations: 8.031 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.9887, allocations: 0.5257 MB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9887, allocations: 4 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.9888, allocations: 20.69 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9888, allocations: 1.125 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.9888, allocations: 1.062 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.9889, allocations: 4.656 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9889, allocations: 0 / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.9897, allocations: 329.8 kB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.9897, allocations: 84.34 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.9898, allocations: 1.094 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.99, allocations: 28.34 kB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.9901, allocations: 15.25 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.9901, allocations: 3.312 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.9902, allocations: 108.2 kB / 1.226 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9902, allocations: 192 / 1.226 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003891/0.9906, allocations: 51.83 kB / 1.226 GB, free: 13.19 MB / 0.9356 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.0004434/0.991, allocations: 165.2 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.9915, allocations: 140.8 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9915, allocations: 5.469 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.9919, allocations: 81.36 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.9921, allocations: 9.375 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/0.9929, allocations: 279 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.9933, allocations: 0.7023 MB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.9933, allocations: 8.016 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.9934, allocations: 15.69 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9934, allocations: 3.938 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.006403/0.9998, allocations: 2.077 MB / 1.23 GB, free: 10.95 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.170645548030734]