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.0008882/0.0008882, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008256/0.0008256, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8784/0.8784, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.628/1.628, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.863e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002049/0.002077, allocations: 1.634 MB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003173, allocations: 0.8456 MB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.003235, allocations: 4 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.003273, allocations: 15.8 kB / 0.9542 GB, free: 500 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.003327, allocations: 23.73 kB / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.00385, allocations: 191.2 kB / 0.9544 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003986, allocations: 163.4 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.004077, allocations: 21.28 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.004223, allocations: 95.84 kB / 0.9546 GB, free: 0 / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.004313, allocations: 63.78 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.004337, allocations: 16 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.004531, allocations: 147.6 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.004561, allocations: 39.88 kB / 0.9549 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.004603, allocations: 39.89 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.004846, allocations: 243.4 kB / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004849, allocations: 0 / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004849, allocations: 0 / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004854, allocations: 0 / 0.9552 GB, free: 15.46 MB / 0.9167 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.0005763/0.00543, allocations: 492.2 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.005462, allocations: 12.03 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.005799, allocations: 80.77 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.005987, allocations: 157.5 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.006007, allocations: 4.375 kB / 0.9559 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.006024, allocations: 8.375 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.006284, allocations: 134.1 kB / 0.956 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006295, allocations: 4.172 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.00631, allocations: 4.375 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006316, allocations: 7.938 kB / 0.956 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.00652, allocations: 95.91 kB / 0.9561 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.006963, allocations: 308.3 kB / 0.9564 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.007148, allocations: 90.52 kB / 0.9565 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.0073, allocations: 92.72 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.007319, allocations: 0 / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.007537, allocations: 143.2 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.007538, allocations: 0 / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0005995/0.008137, allocations: 321.2 kB / 0.957 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.008169, allocations: 55.41 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.008258, allocations: 154 kB / 0.9572 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.008273, allocations: 29.7 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.008322, allocations: 104.3 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.008345, allocations: 31.92 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.008389, allocations: 33.7 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.008467, allocations: 318.8 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.008539, allocations: 47.97 kB / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.008626, allocations: 77.12 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.008783, allocations: 129 kB / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.008785, allocations: 0 / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002008/0.008986, allocations: 157.5 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.008996, allocations: 8 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009002, allocations: 3.984 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.009014, allocations: 4 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.009088, allocations: 19.97 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.009093, allocations: 4 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.009143, allocations: 24.02 kB / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.009154, allocations: 7.984 kB / 0.9582 GB, free: 12.13 MB / 0.9167 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 6.961e-05/0.009224, allocations: 121.8 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.00924, allocations: 15.89 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.009262, allocations: 12.78 kB / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.009264, allocations: 0 / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.009268, allocations: 0 / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009271, allocations: 3.984 kB / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.009801, allocations: 465.9 kB / 0.9588 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009802, allocations: 0 / 0.9588 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.009837, allocations: 11.98 kB / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.009839, allocations: 0 / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.009852, allocations: 16.09 kB / 0.9588 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009853, allocations: 7.875 kB / 0.9588 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009854, allocations: 480 / 0.9588 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.01024, allocations: 339.2 kB / 0.9591 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.01025, allocations: 11.95 kB / 0.9591 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01027, allocations: 7.938 kB / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.01037, allocations: 19.97 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.01041, allocations: 11.98 kB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01042, allocations: 7.984 kB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.01047, allocations: 113 kB / 0.9593 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01047, allocations: 0 / 0.9593 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002028/0.01067, allocations: 47.88 kB / 0.9593 GB, free: 10.88 MB / 0.9167 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.0002473/0.01092, allocations: 181 kB / 0.9595 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.0112, allocations: 135.8 kB / 0.9596 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0112, allocations: 4.031 kB / 0.9596 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.01137, allocations: 87.86 kB / 0.9597 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.01155, allocations: 11.94 kB / 0.9597 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.01199, allocations: 291.3 kB / 0.96 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.709e-05/0.01205, allocations: 89.31 kB / 0.9601 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.01208, allocations: 16.5 kB / 0.9601 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of SimCode: time 7.32e-07/0.01208, allocations: 0 / 0.9601 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.002868/0.01495, allocations: 2.272 MB / 0.9623 GB, free: 7.773 MB / 0.9167 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: 6.683641671203077]