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.001746/0.001746, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00187/0.00187, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.589/1.589, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.4 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 177] 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=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.002131/0.002131, allocations: 64.08 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002973/0.3274, allocations: 1.649 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.329, allocations: 0.8268 MB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3291, allocations: 4 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.3291, allocations: 7.875 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.3292, allocations: 23.73 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.3299, allocations: 147.6 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3301, allocations: 155.5 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3302, allocations: 21.06 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3304, allocations: 67.81 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3305, allocations: 79.7 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.3305, allocations: 16 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.3307, allocations: 107.8 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3308, allocations: 35.91 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.3309, allocations: 63.69 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.3312, allocations: 207.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 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.0009589/0.3322, allocations: 0.5444 MB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3322, allocations: 8.031 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.3323, allocations: 8.891 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3325, allocations: 189.9 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3325, allocations: 20.23 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3325, allocations: 4.375 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.333, allocations: 149.9 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.333, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3331, allocations: 3.938 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3331, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.3335, allocations: 99.91 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.3344, allocations: 392.5 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.3347, allocations: 102.4 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.335, allocations: 76.78 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3351, allocations: 4 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.3355, allocations: 131.3 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3355, allocations: 4 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001375/0.3369, allocations: 313.3 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.337, allocations: 51.41 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3371, allocations: 144.7 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3371, allocations: 29.7 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.3372, allocations: 108.3 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3372, allocations: 27.78 kB / 1.222 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.3373, allocations: 29.81 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3375, allocations: 330.7 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.3376, allocations: 43.91 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3378, allocations: 77.12 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3381, allocations: 129 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3381, allocations: 0 / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003575/0.3384, allocations: 149.5 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3384, allocations: 8 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3384, allocations: 0 / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3385, allocations: 4.5 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3386, allocations: 27.91 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3386, allocations: 4 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3388, allocations: 11.95 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3388, allocations: 15.92 kB / 1.223 GB, free: 8.477 MB / 0.9669 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.00013/0.3389, allocations: 121.8 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3389, allocations: 7.953 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.339, allocations: 12.72 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.339, allocations: 4.094 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.339, allocations: 0 / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.339, allocations: 11.97 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3401, allocations: 0.5256 MB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3401, allocations: 4 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.3402, allocations: 15.98 kB / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3402, allocations: 0 / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3402, allocations: 3.984 kB / 1.223 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3402, allocations: 3.938 kB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3402, allocations: 4 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.341, allocations: 323.3 kB / 1.224 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.341, allocations: 85.06 kB / 1.224 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3411, allocations: 8 kB / 1.224 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3413, allocations: 23.91 kB / 1.224 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.3413, allocations: 11.98 kB / 1.224 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3414, allocations: 11.98 kB / 1.224 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.3414, allocations: 104.9 kB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3414, allocations: 0 / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000349/0.3418, allocations: 51.88 kB / 1.224 GB, free: 7.059 MB / 0.9669 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.0004016/0.3422, allocations: 177.4 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.3427, allocations: 139.9 kB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3427, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.3431, allocations: 83.92 kB / 1.224 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3433, allocations: 11.98 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.3441, allocations: 276.1 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3445, allocations: 0.7002 MB / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.3445, allocations: 12.17 kB / 1.225 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.3446, allocations: 15.42 kB / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.3446, allocations: 0 / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of Templates: time 0.005461/0.35, allocations: 2.048 MB / 1.227 GB, free: 3.574 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.454686427488923]