Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.001667/0.001667, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001834/0.001834, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.599/1.599, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.089/3.089, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] 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.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") [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.002033/0.002033, allocations: 64.19 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207/1.209, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.3132/1.522, allocations: 222.1 MB / 1.539 GB, free: 11.02 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03799/1.56, allocations: 26.77 MB / 1.565 GB, free: 168 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/1.563, allocations: 43.69 kB / 1.565 GB, free: 124 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003736/1.567, allocations: 1.193 MB / 1.566 GB, free: 14.92 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/1.578, allocations: 3.248 MB / 1.569 GB, free: 11.66 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00681/1.585, allocations: 1.67 MB / 1.571 GB, free: 9.996 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008318/1.593, allocations: 3.823 MB / 1.575 GB, free: 6.164 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/1.596, allocations: 1.226 MB / 1.576 GB, free: 4.902 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/1.603, allocations: 2.382 MB / 1.578 GB, free: 2.512 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/1.607, allocations: 1.533 MB / 1.58 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004059/1.608, allocations: 128 kB / 1.58 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006146/1.614, allocations: 1.874 MB / 1.582 GB, free: 14.97 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/1.615, allocations: 0.8566 MB / 1.583 GB, free: 14.11 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/1.618, allocations: 1.146 MB / 1.584 GB, free: 12.96 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.009911/1.628, allocations: 2.967 MB / 1.587 GB, free: 9.98 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/1.628, allocations: 0 / 1.587 GB, free: 9.98 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.847e-06/1.628, allocations: 0 / 1.587 GB, free: 9.98 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001287/1.628, allocations: 0 / 1.587 GB, free: 9.98 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006736/1.635, allocations: 2.881 MB / 1.589 GB, free: 7.035 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.635, allocations: 11.98 kB / 1.589 GB, free: 7.023 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.637, allocations: 453.9 kB / 1.59 GB, free: 6.578 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/1.64, allocations: 1.508 MB / 1.591 GB, free: 5 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.64, allocations: 98.52 kB / 1.591 GB, free: 4.902 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.64, allocations: 124 kB / 1.592 GB, free: 4.781 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/1.643, allocations: 1.603 MB / 1.593 GB, free: 3.035 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/1.643, allocations: 7.938 kB / 1.593 GB, free: 3.027 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.643, allocations: 55.98 kB / 1.593 GB, free: 2.973 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/1.643, allocations: 89.91 kB / 1.593 GB, free: 2.883 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.645, allocations: 1.061 MB / 1.594 GB, free: 1.82 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/1.655, allocations: 8.124 MB / 1.602 GB, free: 9.191 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.656, allocations: 0.7074 MB / 1.603 GB, free: 8.438 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/1.656, allocations: 300.1 kB / 1.603 GB, free: 8.129 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.657, allocations: 0.6091 MB / 1.604 GB, free: 7.391 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.657, allocations: 42.86 kB / 1.604 GB, free: 7.34 MB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 3.296e-06/1.657, allocations: 0 / 1.604 GB, free: 7.34 MB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.001961/1.659, allocations: 0.9843 MB / 1.605 GB, free: 6.348 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.659, allocations: 166.2 kB / 1.605 GB, free: 6.148 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/1.663, allocations: 3.104 MB / 1.608 GB, free: 3.031 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/1.663, allocations: 37.64 kB / 1.608 GB, free: 2.988 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.665, allocations: 1.051 MB / 1.609 GB, free: 1.93 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.665, allocations: 186.4 kB / 1.609 GB, free: 1.746 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/1.665, allocations: 94.2 kB / 1.609 GB, free: 1.648 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.665, allocations: 326 kB / 1.61 GB, free: 1.324 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.665, allocations: 225 kB / 1.61 GB, free: 1.105 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/1.666, allocations: 310.9 kB / 1.61 GB, free: 0.7695 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/1.667, allocations: 0.5611 MB / 1.611 GB, free: 180 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.667, allocations: 0 / 1.611 GB, free: 180 kB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001537/1.668, allocations: 0.8006 MB / 1.611 GB, free: 15.37 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.668, allocations: 11.94 kB / 1.611 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.668, allocations: 4 kB / 1.611 GB, free: 15.35 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.668, allocations: 4 kB / 1.611 GB, free: 15.35 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/1.669, allocations: 103.8 kB / 1.612 GB, free: 15.25 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.669, allocations: 4 kB / 1.612 GB, free: 15.24 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/1.67, allocations: 99.17 kB / 1.612 GB, free: 15.14 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/1.67, allocations: 23.98 kB / 1.612 GB, free: 15.12 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.000814/1.671, allocations: 0.5405 MB / 1.612 GB, free: 14.57 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/1.671, allocations: 238.4 kB / 1.612 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.672, allocations: 0.7996 MB / 1.613 GB, free: 13.53 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.672, allocations: 8 kB / 1.613 GB, free: 13.52 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.672, allocations: 0 / 1.613 GB, free: 13.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.672, allocations: 3.984 kB / 1.613 GB, free: 13.52 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/1.676, allocations: 2.029 MB / 1.615 GB, free: 11.41 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.676, allocations: 0 / 1.615 GB, free: 11.41 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/1.676, allocations: 99.83 kB / 1.615 GB, free: 11.31 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.676, allocations: 4 kB / 1.615 GB, free: 11.31 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/1.676, allocations: 20.19 kB / 1.615 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.676, allocations: 4 kB / 1.615 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.676, allocations: 0 / 1.615 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/1.678, allocations: 1.279 MB / 1.617 GB, free: 9.969 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006807/1.679, allocations: 403.3 kB / 1.617 GB, free: 9.555 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.679, allocations: 12 kB / 1.617 GB, free: 9.543 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/1.68, allocations: 16.08 kB / 1.617 GB, free: 9.527 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.68, allocations: 52.25 kB / 1.617 GB, free: 9.477 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/1.68, allocations: 16 kB / 1.617 GB, free: 9.461 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003058/1.683, allocations: 2.223 MB / 1.619 GB, free: 7.23 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.683, allocations: 0 / 1.619 GB, free: 7.23 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001332/1.684, allocations: 475.1 kB / 1.62 GB, free: 6.766 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.001894/1.686, allocations: 0.5195 MB / 1.62 GB, free: 6.367 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.687, allocations: 0.5181 MB / 1.621 GB, free: 5.848 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.687, allocations: 4.062 kB / 1.621 GB, free: 5.844 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/1.688, allocations: 286.2 kB / 1.621 GB, free: 5.562 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.691, allocations: 0.8509 MB / 1.622 GB, free: 4.715 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/1.699, allocations: 4.309 MB / 1.626 GB, free: 352 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.7, allocations: 1.608 MB / 1.628 GB, free: 14.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/1.701, allocations: 151.4 kB / 1.628 GB, free: 14.55 MB / 1.311 GB Notification: Performance of SimCode: time 1.253e-06/1.701, allocations: 0 / 1.628 GB, free: 14.55 MB / 1.311 GB Notification: Performance of Templates: time 0.06381/1.765, allocations: 33.54 MB / 1.66 GB, free: 13.23 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 20.631678353995085]