Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.001723/0.001723, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001473/0.001473, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.094/3.094, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [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.002057/0.002057, allocations: 77.09 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2094/0.4916, allocations: 175.9 MB / 1.499 GB, free: 476 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.5039, allocations: 8.704 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.5047, allocations: 27.81 kB / 1.507 GB, free: 7.711 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.5063, allocations: 0.5709 MB / 1.508 GB, free: 7.137 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.5113, allocations: 2.085 MB / 1.51 GB, free: 5.043 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.5133, allocations: 0.7571 MB / 1.511 GB, free: 4.289 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.5159, allocations: 2.116 MB / 1.513 GB, free: 2.164 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009576/0.5169, allocations: 0.5964 MB / 1.513 GB, free: 1.551 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.5199, allocations: 1.557 MB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.521, allocations: 0.7625 MB / 1.516 GB, free: 15.22 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.5211, allocations: 72 kB / 1.516 GB, free: 15.15 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.524, allocations: 1.593 MB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.5244, allocations: 358.8 kB / 1.518 GB, free: 13.2 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.5249, allocations: 426.2 kB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.5275, allocations: 1.803 MB / 1.52 GB, free: 10.98 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5275, allocations: 0 / 1.52 GB, free: 10.98 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.237e-06/0.5275, allocations: 3.984 kB / 1.52 GB, free: 10.97 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5275, allocations: 0 / 1.52 GB, free: 10.97 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003615/0.5311, allocations: 1.38 MB / 1.521 GB, free: 9.559 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5311, allocations: 12.03 kB / 1.521 GB, free: 9.547 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.5318, allocations: 151.3 kB / 1.521 GB, free: 9.398 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5328, allocations: 0.5381 MB / 1.522 GB, free: 8.828 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.5328, allocations: 54 kB / 1.522 GB, free: 8.773 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.533, allocations: 68 kB / 1.522 GB, free: 8.707 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5344, allocations: 0.8587 MB / 1.523 GB, free: 7.828 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5344, allocations: 0 / 1.523 GB, free: 7.828 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.5345, allocations: 32 kB / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.5346, allocations: 49.97 kB / 1.523 GB, free: 7.746 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.5359, allocations: 0.7651 MB / 1.524 GB, free: 6.98 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.5402, allocations: 2.196 MB / 1.526 GB, free: 4.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.541, allocations: 400.5 kB / 1.526 GB, free: 4.332 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.5413, allocations: 177.3 kB / 1.526 GB, free: 4.156 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/0.5417, allocations: 96.25 kB / 1.526 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5418, allocations: 38.89 kB / 1.526 GB, free: 4.016 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.5418, allocations: 0 / 1.526 GB, free: 4.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.00128/0.5431, allocations: 0.5799 MB / 1.527 GB, free: 3.43 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.5431, allocations: 59.34 kB / 1.527 GB, free: 3.359 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.5438, allocations: 0.5692 MB / 1.528 GB, free: 2.781 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.5439, allocations: 37.69 kB / 1.528 GB, free: 2.738 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5442, allocations: 432 kB / 1.528 GB, free: 2.312 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5443, allocations: 138.8 kB / 1.528 GB, free: 2.176 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.5445, allocations: 94.14 kB / 1.528 GB, free: 2.078 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5447, allocations: 366.8 kB / 1.529 GB, free: 1.711 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.545, allocations: 188.8 kB / 1.529 GB, free: 1.527 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.5455, allocations: 375.8 kB / 1.529 GB, free: 1.109 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.5463, allocations: 450.6 kB / 1.53 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5463, allocations: 7.938 kB / 1.53 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001014/0.5473, allocations: 0.5589 MB / 1.53 GB, free: 68 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5473, allocations: 12.03 kB / 1.53 GB, free: 56 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5473, allocations: 4 kB / 1.53 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5473, allocations: 4 kB / 1.53 GB, free: 48 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.5478, allocations: 103.8 kB / 1.53 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.5479, allocations: 7.938 kB / 1.53 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.5484, allocations: 51.66 kB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.5484, allocations: 20 kB / 1.53 GB, free: 15.87 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0003017/0.5487, allocations: 245.7 kB / 1.531 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5488, allocations: 63.62 kB / 1.531 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5499, allocations: 0.5336 MB / 1.531 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5499, allocations: 7.938 kB / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5499, allocations: 3.938 kB / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5499, allocations: 0 / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.5531, allocations: 1.786 MB / 1.533 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5531, allocations: 4 kB / 1.533 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.5535, allocations: 95.83 kB / 1.533 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.5535, allocations: 11.94 kB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.5536, allocations: 12.59 kB / 1.533 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.5536, allocations: 19.98 kB / 1.533 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5536, allocations: 12 kB / 1.533 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.555, allocations: 0.9605 MB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.5552, allocations: 119.4 kB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.5553, allocations: 16 kB / 1.534 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.5558, allocations: 24.05 kB / 1.534 GB, free: 11.73 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.5559, allocations: 47.81 kB / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.5559, allocations: 23.94 kB / 1.534 GB, free: 11.66 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005145/0.5564, allocations: 418.8 kB / 1.535 GB, free: 11.25 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5564, allocations: 0 / 1.535 GB, free: 11.25 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007575/0.5572, allocations: 263.4 kB / 1.535 GB, free: 11 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.00035/0.5576, allocations: 218.9 kB / 1.535 GB, free: 10.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.5584, allocations: 442.6 kB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5584, allocations: 8.062 kB / 1.535 GB, free: 10.33 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.5588, allocations: 217.2 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.5601, allocations: 259.8 kB / 1.536 GB, free: 9.867 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.5624, allocations: 1.514 MB / 1.537 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.5629, allocations: 415.3 kB / 1.538 GB, free: 7.805 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004596/0.5633, allocations: 136.9 kB / 1.538 GB, free: 7.672 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5635, allocations: 51.42 kB / 1.538 GB, free: 7.621 MB / 1.232 GB Notification: Performance of SimCode: time 3.71e-07/0.5635, allocations: 0 / 1.538 GB, free: 7.621 MB / 1.232 GB Notification: Performance of Templates: time 0.02141/0.5849, allocations: 12.48 MB / 1.55 GB, free: 11.39 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.02023916199687]