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.001449/0.001449, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001973/0.001973, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.411/3.411, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.002043/0.002043, allocations: 71.94 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4923, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.3059/0.7982, allocations: 222.6 MB / 1.544 GB, free: 2.031 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.03941/0.8376, allocations: 26.94 MB / 1.571 GB, free: 7.004 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.8405, allocations: 39.69 kB / 1.571 GB, free: 6.965 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.8447, allocations: 1.197 MB / 1.572 GB, free: 5.762 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.8556, allocations: 3.262 MB / 1.575 GB, free: 2.488 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005341/0.8609, allocations: 1.735 MB / 1.577 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006978/0.8679, allocations: 3.849 MB / 1.581 GB, free: 12.89 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.8702, allocations: 1.136 MB / 1.582 GB, free: 11.72 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/0.8768, allocations: 2.397 MB / 1.584 GB, free: 9.316 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/0.8801, allocations: 1.537 MB / 1.586 GB, free: 7.773 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.8804, allocations: 128 kB / 1.586 GB, free: 7.648 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005292/0.8857, allocations: 1.913 MB / 1.588 GB, free: 5.73 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.8867, allocations: 0.8683 MB / 1.588 GB, free: 4.859 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.8884, allocations: 1.142 MB / 1.59 GB, free: 3.711 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.8945, allocations: 2.968 MB / 1.592 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.8945, allocations: 4 kB / 1.592 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8945, allocations: 0 / 1.592 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.8945, allocations: 0 / 1.592 GB, free: 0.7266 MB / 1.279 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.005303/0.8998, allocations: 2.795 MB / 1.595 GB, free: 13.88 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.8999, allocations: 12.03 kB / 1.595 GB, free: 13.87 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.9018, allocations: 449.9 kB / 1.596 GB, free: 13.43 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.9046, allocations: 1.44 MB / 1.597 GB, free: 11.93 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/0.9047, allocations: 98.52 kB / 1.597 GB, free: 11.83 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.9049, allocations: 128 kB / 1.597 GB, free: 11.71 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.9077, allocations: 1.599 MB / 1.599 GB, free: 9.965 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.9077, allocations: 7.938 kB / 1.599 GB, free: 9.957 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.9078, allocations: 52 kB / 1.599 GB, free: 9.906 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.908, allocations: 93.95 kB / 1.599 GB, free: 9.812 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.9098, allocations: 1.065 MB / 1.6 GB, free: 8.746 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.92, allocations: 8.026 MB / 1.608 GB, free: 212 kB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9703/1.89, allocations: 0.6957 MB / 1.609 GB, free: 282.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/1.891, allocations: 294.2 kB / 1.609 GB, free: 282.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/1.891, allocations: 91 kB / 1.609 GB, free: 282.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.891, allocations: 40.16 kB / 1.609 GB, free: 282.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.595e-06/1.891, allocations: 0 / 1.609 GB, free: 282.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.002336/1.894, allocations: 0.9784 MB / 1.61 GB, free: 282.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.894, allocations: 164 kB / 1.61 GB, free: 282 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/1.899, allocations: 3.105 MB / 1.613 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.899, allocations: 37.05 kB / 1.613 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008146/1.9, allocations: 1.047 MB / 1.614 GB, free: 280.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/1.9, allocations: 188.5 kB / 1.614 GB, free: 280.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/1.9, allocations: 97.64 kB / 1.614 GB, free: 280.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/1.9, allocations: 327.8 kB / 1.615 GB, free: 280.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/1.901, allocations: 220.3 kB / 1.615 GB, free: 280.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/1.901, allocations: 324.4 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/1.902, allocations: 0.5506 MB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.902, allocations: 0.7812 kB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001606/1.904, allocations: 0.8121 MB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.904, allocations: 9.031 kB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.904, allocations: 3.656 kB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.904, allocations: 9.891 kB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/1.904, allocations: 101.4 kB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.904, allocations: 10.42 kB / 1.617 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/1.905, allocations: 94.97 kB / 1.617 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/1.905, allocations: 20.44 kB / 1.617 GB, free: 279.4 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.0009417/1.906, allocations: 0.542 MB / 1.617 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/1.906, allocations: 240.7 kB / 1.618 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.908, allocations: 0.7942 MB / 1.618 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.908, allocations: 6.438 kB / 1.618 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.908, allocations: 2.266 kB / 1.618 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.908, allocations: 7.828 kB / 1.618 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/1.912, allocations: 2.005 MB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.912, allocations: 7.25 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/1.912, allocations: 93.89 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/1.912, allocations: 5.047 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/1.912, allocations: 16.55 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.912, allocations: 8.125 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.912, allocations: 2.188 kB / 1.62 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/1.915, allocations: 1.278 MB / 1.622 GB, free: 277.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.916, allocations: 318.2 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.916, allocations: 17.89 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/1.917, allocations: 18.59 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.917, allocations: 36.22 kB / 1.622 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.917, allocations: 18.64 kB / 1.622 GB, free: 277 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003562/1.921, allocations: 2.224 MB / 1.624 GB, free: 276.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.921, allocations: 3.938 kB / 1.624 GB, free: 276.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001692/1.922, allocations: 477.8 kB / 1.625 GB, free: 276.3 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.001778/1.924, allocations: 0.5196 MB / 1.625 GB, free: 276.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.925, allocations: 0.5245 MB / 1.626 GB, free: 276 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.925, allocations: 1.125 kB / 1.626 GB, free: 276 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004858/1.926, allocations: 279 kB / 1.626 GB, free: 276 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.93, allocations: 0.8584 MB / 1.627 GB, free: 275.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/1.937, allocations: 4.311 MB / 1.631 GB, free: 273.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.939, allocations: 1.614 MB / 1.633 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/1.939, allocations: 147.9 kB / 1.633 GB, free: 272.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.543e-06/1.939, allocations: 0 / 1.633 GB, free: 272.9 MB / 1.295 GB Notification: Performance of Templates: time 0.05471/1.994, allocations: 33.54 MB / 1.666 GB, free: 248.2 MB / 1.295 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: 21.331628482992528]