Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001753/0.001753, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 13.93 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.002654/0.002654, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.394/3.394, allocations: 429.6 MB / 0.673 GB, free: 3.859 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.01e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.118/1.118, allocations: 221.9 MB / 1.094 GB, free: 45.39 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02941/1.147, allocations: 21.52 MB / 1.115 GB, free: 45.05 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/1.15, allocations: 88.44 kB / 1.115 GB, free: 45.05 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/1.154, allocations: 1.005 MB / 1.116 GB, free: 45.04 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.007001/1.161, allocations: 1.595 MB / 1.118 GB, free: 44.84 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.009252/1.17, allocations: 2.511 MB / 1.12 GB, free: 44.64 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007242/1.177, allocations: 2.861 MB / 1.123 GB, free: 44.05 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/1.18, allocations: 1.001 MB / 1.124 GB, free: 43.93 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0072/1.187, allocations: 2.115 MB / 1.126 GB, free: 43.73 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/1.189, allocations: 0.8201 MB / 1.127 GB, free: 43.63 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/1.19, allocations: 115.2 kB / 1.127 GB, free: 43.63 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/1.194, allocations: 1.422 MB / 1.129 GB, free: 43.48 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007651/1.195, allocations: 428 kB / 1.129 GB, free: 43.41 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.197, allocations: 468 kB / 1.129 GB, free: 43.36 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006906/1.203, allocations: 2.467 MB / 1.132 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.203, allocations: 0 / 1.132 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.835e-06/1.203, allocations: 1.703 kB / 1.132 GB, free: 43.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.275e-05/1.204, allocations: 0.7188 kB / 1.132 GB, free: 43.12 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003173/1.207, allocations: 1.555 MB / 1.133 GB, free: 42.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.207, allocations: 9.844 kB / 1.133 GB, free: 42.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.208, allocations: 365.8 kB / 1.134 GB, free: 42.19 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/1.21, allocations: 1.026 MB / 1.135 GB, free: 41.89 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.211, allocations: 302.9 kB / 1.135 GB, free: 41.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/1.211, allocations: 104.8 kB / 1.135 GB, free: 41.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/1.213, allocations: 0.9294 MB / 1.136 GB, free: 41.51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.213, allocations: 0.75 kB / 1.136 GB, free: 41.51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/1.213, allocations: 38 kB / 1.136 GB, free: 41.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/1.213, allocations: 22.06 kB / 1.136 GB, free: 41.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.214, allocations: 0.6343 MB / 1.137 GB, free: 41.5 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/1.219, allocations: 2.781 MB / 1.139 GB, free: 40.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/1.219, allocations: 186.5 kB / 1.14 GB, free: 40.38 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.22, allocations: 133.8 kB / 1.14 GB, free: 40.37 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/1.22, allocations: 131.3 kB / 1.14 GB, free: 40.37 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.22, allocations: 33.02 kB / 1.14 GB, free: 40.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/1.22, allocations: 0 / 1.14 GB, free: 40.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.001356/1.222, allocations: 475.6 kB / 1.14 GB, free: 40.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.222, allocations: 53.97 kB / 1.14 GB, free: 40.17 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.223, allocations: 0.8479 MB / 1.141 GB, free: 39.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/1.223, allocations: 39.11 kB / 1.141 GB, free: 39.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/1.224, allocations: 0.5896 MB / 1.142 GB, free: 39.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/1.224, allocations: 89.03 kB / 1.142 GB, free: 39.22 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/1.224, allocations: 160.9 kB / 1.142 GB, free: 39.14 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.224, allocations: 332.2 kB / 1.142 GB, free: 38.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/1.224, allocations: 164.2 kB / 1.142 GB, free: 38.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/1.225, allocations: 0.9885 MB / 1.143 GB, free: 37.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.226, allocations: 0.7637 MB / 1.144 GB, free: 37.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.226, allocations: 8.531 kB / 1.144 GB, free: 37.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001707/1.228, allocations: 0.8019 MB / 1.145 GB, free: 36.78 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/1.228, allocations: 10.16 kB / 1.145 GB, free: 36.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.228, allocations: 16.78 kB / 1.145 GB, free: 36.78 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.856e-05/1.228, allocations: 19.09 kB / 1.145 GB, free: 36.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/1.229, allocations: 156.6 kB / 1.145 GB, free: 36.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.292e-05/1.229, allocations: 29.61 kB / 1.145 GB, free: 36.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/1.23, allocations: 86.06 kB / 1.145 GB, free: 36.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/1.23, allocations: 49.44 kB / 1.145 GB, free: 36.71 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (84): * Single equations (assignments): 84 * 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.0005468/1.23, allocations: 324.1 kB / 1.146 GB, free: 36.49 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.23, allocations: 101.4 kB / 1.146 GB, free: 36.44 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/1.231, allocations: 401.7 kB / 1.146 GB, free: 36.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.231, allocations: 4 kB / 1.146 GB, free: 36.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.231, allocations: 0 / 1.146 GB, free: 36.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.231, allocations: 3.219 kB / 1.146 GB, free: 36.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/1.234, allocations: 1.385 MB / 1.147 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.234, allocations: 4.906 kB / 1.147 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.234, allocations: 39.45 kB / 1.148 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/1.234, allocations: 5.5 kB / 1.148 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/1.234, allocations: 12.62 kB / 1.148 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.234, allocations: 9.125 kB / 1.148 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.234, allocations: 5.797 kB / 1.148 GB, free: 35.48 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/1.235, allocations: 0.5653 MB / 1.148 GB, free: 35.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/1.235, allocations: 124.6 kB / 1.148 GB, free: 34.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.235, allocations: 11.22 kB / 1.148 GB, free: 34.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/1.236, allocations: 8.812 kB / 1.148 GB, free: 34.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/1.236, allocations: 32 kB / 1.148 GB, free: 34.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/1.236, allocations: 12.2 kB / 1.148 GB, free: 34.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001053/1.237, allocations: 0.559 MB / 1.149 GB, free: 34.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.237, allocations: 0 / 1.149 GB, free: 34.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001781/1.239, allocations: 355.4 kB / 1.149 GB, free: 34.62 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008341/1.239, allocations: 317.9 kB / 1.149 GB, free: 34.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009857/1.24, allocations: 437 kB / 1.15 GB, free: 34.36 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/1.24, allocations: 5.406 kB / 1.15 GB, free: 34.36 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/1.241, allocations: 135.2 kB / 1.15 GB, free: 34.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.242, allocations: 295.8 kB / 1.15 GB, free: 34.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/1.246, allocations: 1.714 MB / 1.152 GB, free: 33.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.247, allocations: 0.5141 MB / 1.152 GB, free: 33.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000801/1.248, allocations: 164.2 kB / 1.153 GB, free: 33 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/1.248, allocations: 60.02 kB / 1.153 GB, free: 32.98 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/1.248, allocations: 0 / 1.153 GB, free: 32.98 MB / 1.01 GB Notification: Performance of Templates: time 0.02464/1.272, allocations: 12.4 MB / 1.165 GB, free: 31.32 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: 10.438818862079643]