Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001917/0.001917, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.006/3.006, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002177/0.002177, allocations: 63.91 kB / 1.117 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4099, allocations: 169.9 MB / 1.283 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003215/0.4131, allocations: 1.641 MB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.4149, allocations: 0.8389 MB / 1.285 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.415, allocations: 0 / 1.285 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.4151, allocations: 19.73 kB / 1.285 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.4151, allocations: 19.8 kB / 1.285 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.4158, allocations: 191.5 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.416, allocations: 163.5 kB / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4161, allocations: 21.23 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.4163, allocations: 75.77 kB / 1.286 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4164, allocations: 71.66 kB / 1.286 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.4165, allocations: 16 kB / 1.286 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.4168, allocations: 147.7 kB / 1.286 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.4168, allocations: 31.91 kB / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.4169, allocations: 55.75 kB / 1.286 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.4172, allocations: 219.2 kB / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4172, allocations: 0 / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4172, allocations: 0 / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4172, allocations: 0 / 1.286 GB, free: 184 kB / 0.9825 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.0008328/0.4181, allocations: 484.3 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4181, allocations: 12.02 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.4188, allocations: 80.77 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4191, allocations: 159.5 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.4191, allocations: 8.375 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.4192, allocations: 8.359 kB / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.4196, allocations: 137.9 kB / 1.287 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4196, allocations: 7.938 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4196, allocations: 0 / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4196, allocations: 4 kB / 1.287 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.4201, allocations: 103.9 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.4208, allocations: 308.2 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.4212, allocations: 90.5 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.4215, allocations: 80.78 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.4215, allocations: 8 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.422, allocations: 139.2 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.422, allocations: 0 / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001179/0.4231, allocations: 317.3 kB / 1.288 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4232, allocations: 51.41 kB / 1.288 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4233, allocations: 160 kB / 1.288 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4234, allocations: 25.7 kB / 1.289 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.4235, allocations: 108.4 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.4235, allocations: 23.94 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.4235, allocations: 33.7 kB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4237, allocations: 326.8 kB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4239, allocations: 35.97 kB / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.424, allocations: 81.11 kB / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.4243, allocations: 125 kB / 1.289 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4243, allocations: 0 / 1.289 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003878/0.4247, allocations: 169.5 kB / 1.289 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4247, allocations: 4 kB / 1.289 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4247, allocations: 4 kB / 1.289 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4248, allocations: 0 / 1.289 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4249, allocations: 19.98 kB / 1.289 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4249, allocations: 0 / 1.289 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.425, allocations: 16.05 kB / 1.289 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.425, allocations: 8.031 kB / 1.289 GB, free: 12.87 MB / 0.9981 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.0001273/0.4252, allocations: 141.8 kB / 1.29 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4252, allocations: 7.953 kB / 1.29 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.4252, allocations: 12.72 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4252, allocations: 0 / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4252, allocations: 0 / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4252, allocations: 0 / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.4263, allocations: 477.8 kB / 1.29 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4263, allocations: 0 / 1.29 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.4264, allocations: 15.98 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4264, allocations: 4 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.4264, allocations: 3.984 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4264, allocations: 480 / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4264, allocations: 0 / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.4274, allocations: 343.1 kB / 1.29 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.4274, allocations: 11.91 kB / 1.29 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4275, allocations: 4 kB / 1.29 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4277, allocations: 23.97 kB / 1.29 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.4277, allocations: 15.92 kB / 1.29 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.4278, allocations: 11.92 kB / 1.29 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001/0.4279, allocations: 114.5 kB / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4279, allocations: 0 / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003623/0.4282, allocations: 43.94 kB / 1.291 GB, free: 11.61 MB / 0.9981 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.0004163/0.4286, allocations: 161.8 kB / 1.291 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005617/0.4292, allocations: 143.9 kB / 1.291 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4292, allocations: 4.188 kB / 1.291 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.4296, allocations: 87.86 kB / 1.291 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4299, allocations: 8 kB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.4307, allocations: 275.9 kB / 1.291 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.4308, allocations: 93.05 kB / 1.291 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.4308, allocations: 12.83 kB / 1.291 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.4309, allocations: 11.44 kB / 1.291 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.4309, allocations: 0 / 1.291 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.005788/0.4367, allocations: 2.153 MB / 1.293 GB, free: 8.656 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.477960925549269]