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.002049/0.002049, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003059/0.003059, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.707/1.707, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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.976/3.976, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002247/0.002247, allocations: 67.8 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5433, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3346/0.8779, allocations: 222.3 MB / 1.581 GB, free: 14.47 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03273/0.9106, allocations: 20.55 MB / 1.601 GB, free: 9.863 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.9142, allocations: 79.31 kB / 1.601 GB, free: 9.785 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.9179, allocations: 0.9859 MB / 1.602 GB, free: 8.793 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.924, allocations: 1.512 MB / 1.604 GB, free: 7.273 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.9307, allocations: 1.956 MB / 1.605 GB, free: 5.32 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005187/0.9359, allocations: 2.681 MB / 1.608 GB, free: 2.633 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.9378, allocations: 0.9579 MB / 1.609 GB, free: 1.637 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 1.375/2.313, allocations: 1.635 MB / 1.611 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/2.316, allocations: 0.8826 MB / 1.611 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0007351/2.317, allocations: 108.3 kB / 1.612 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/2.323, allocations: 1.397 MB / 1.613 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008542/2.324, allocations: 388.6 kB / 1.613 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/2.325, allocations: 0.5101 MB / 1.614 GB, free: 7.082 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007513/2.333, allocations: 2.304 MB / 1.616 GB, free: 6.965 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/2.333, allocations: 0 / 1.616 GB, free: 6.965 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.296e-06/2.333, allocations: 1.312 kB / 1.616 GB, free: 6.965 MB / 1.295 GB Notification: Performance of Transformations before backend: time 5.03e-05/2.333, allocations: 1.156 kB / 1.616 GB, free: 6.965 MB / 1.295 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.004074/2.337, allocations: 1.446 MB / 1.617 GB, free: 6.223 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/2.337, allocations: 11.05 kB / 1.617 GB, free: 6.223 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/2.339, allocations: 235.6 kB / 1.618 GB, free: 6.152 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/2.341, allocations: 0.8562 MB / 1.619 GB, free: 5.895 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/2.341, allocations: 293 kB / 1.619 GB, free: 5.641 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/2.342, allocations: 95.38 kB / 1.619 GB, free: 5.641 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/2.344, allocations: 0.9272 MB / 1.62 GB, free: 5.512 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/2.344, allocations: 1.625 kB / 1.62 GB, free: 5.512 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/2.344, allocations: 36.59 kB / 1.62 GB, free: 5.512 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/2.344, allocations: 21.78 kB / 1.62 GB, free: 5.512 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/2.346, allocations: 0.6326 MB / 1.62 GB, free: 5.504 MB / 1.295 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.005895/2.352, allocations: 2.633 MB / 1.623 GB, free: 4.453 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/2.352, allocations: 181.1 kB / 1.623 GB, free: 4.43 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/2.353, allocations: 138.3 kB / 1.623 GB, free: 4.422 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/2.353, allocations: 130.9 kB / 1.623 GB, free: 4.422 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/2.353, allocations: 35.81 kB / 1.624 GB, free: 4.383 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/2.353, allocations: 2.375 kB / 1.624 GB, free: 4.383 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001441/2.355, allocations: 442.7 kB / 1.624 GB, free: 4.305 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/2.355, allocations: 55.84 kB / 1.624 GB, free: 4.242 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/2.356, allocations: 0.7099 MB / 1.625 GB, free: 4.098 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/2.356, allocations: 32.73 kB / 1.625 GB, free: 4.066 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/2.357, allocations: 0.5489 MB / 1.625 GB, free: 3.785 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/2.357, allocations: 91.58 kB / 1.625 GB, free: 3.73 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/2.357, allocations: 99.41 kB / 1.625 GB, free: 3.707 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002878/2.358, allocations: 379.3 kB / 1.626 GB, free: 3.395 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/2.358, allocations: 127.1 kB / 1.626 GB, free: 3.395 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/2.359, allocations: 0.7301 MB / 1.627 GB, free: 2.672 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008364/2.36, allocations: 468.4 kB / 1.627 GB, free: 2.453 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/2.36, allocations: 4.031 kB / 1.627 GB, free: 2.453 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001576/2.361, allocations: 0.5162 MB / 1.628 GB, free: 2.383 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/2.361, allocations: 10.72 kB / 1.628 GB, free: 2.383 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/2.361, allocations: 7.156 kB / 1.628 GB, free: 2.383 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.038e-05/2.361, allocations: 13.47 kB / 1.628 GB, free: 2.379 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/2.362, allocations: 93.39 kB / 1.628 GB, free: 2.379 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/2.362, allocations: 15.12 kB / 1.628 GB, free: 2.379 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/2.363, allocations: 46.39 kB / 1.628 GB, free: 2.359 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/2.363, allocations: 25.33 kB / 1.628 GB, free: 2.359 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (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 prepare postOptimizeDAE: time 0.001204/2.364, allocations: 291.5 kB / 1.628 GB, free: 18.24 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/2.364, allocations: 76.98 kB / 1.628 GB, free: 18.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/2.366, allocations: 392.8 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/2.366, allocations: 11.36 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/2.366, allocations: 0 / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/2.366, allocations: 2.797 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/2.37, allocations: 1.337 MB / 1.63 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/2.37, allocations: 5.062 kB / 1.63 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/2.371, allocations: 42.44 kB / 1.63 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/2.371, allocations: 5 kB / 1.63 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/2.371, allocations: 12.3 kB / 1.63 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/2.371, allocations: 14.28 kB / 1.63 GB, free: 17.74 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/2.371, allocations: 7.688 kB / 1.63 GB, free: 17.74 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/2.372, allocations: 0.5421 MB / 1.63 GB, free: 17.43 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/2.372, allocations: 117.5 kB / 1.631 GB, free: 17.38 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/2.372, allocations: 16.95 kB / 1.631 GB, free: 17.38 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/2.373, allocations: 7.203 kB / 1.631 GB, free: 17.38 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/2.373, allocations: 30.62 kB / 1.631 GB, free: 17.38 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/2.373, allocations: 19.89 kB / 1.631 GB, free: 17.38 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001136/2.374, allocations: 496.5 kB / 1.631 GB, free: 17.28 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.1e-08/2.374, allocations: 1.062 kB / 1.631 GB, free: 17.28 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002204/2.376, allocations: 323.2 kB / 1.631 GB, free: 17.21 MB / 1.311 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.001074/2.377, allocations: 311 kB / 1.632 GB, free: 17.1 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001096/2.378, allocations: 337 kB / 1.632 GB, free: 17.1 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/2.378, allocations: 3.219 kB / 1.632 GB, free: 17.1 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/2.379, allocations: 139.1 kB / 1.632 GB, free: 17.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/2.381, allocations: 271.9 kB / 1.632 GB, free: 17.09 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/2.385, allocations: 1.552 MB / 1.634 GB, free: 16.29 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/2.386, allocations: 483.6 kB / 1.634 GB, free: 16.18 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009614/2.387, allocations: 141.8 kB / 1.635 GB, free: 16.17 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/2.387, allocations: 53.97 kB / 1.635 GB, free: 16.16 MB / 1.311 GB Notification: Performance of SimCode: time 1.202e-06/2.387, allocations: 0 / 1.635 GB, free: 16.16 MB / 1.311 GB Notification: Performance of Templates: time 0.0354/2.422, allocations: 13.48 MB / 1.648 GB, free: 14.85 MB / 1.311 GB " [Timeout remaining time 298] 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: 13.443413412198424]