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.001005/0.001005, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009344/0.0009344, allocations: 169 kB / 23.28 MB, free: 1.223 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 0.9443/0.9443, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.55/2.55, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.027e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1636/0.1636, allocations: 158.9 MB / 1.045 GB, free: 10.27 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007847/0.1714, allocations: 6.527 MB / 1.051 GB, free: 3.723 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.1723, allocations: 83.31 kB / 1.051 GB, free: 3.641 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.1735, allocations: 0.5817 MB / 1.052 GB, free: 3.055 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.1757, allocations: 1.282 MB / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.624/0.7996, allocations: 2.143 MB / 1.055 GB, free: 50.04 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004429/0.8041, allocations: 2.834 MB / 1.058 GB, free: 50.04 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.8054, allocations: 1.016 MB / 1.059 GB, free: 49.95 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.8076, allocations: 1.555 MB / 1.061 GB, free: 49.95 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.8088, allocations: 0.8199 MB / 1.061 GB, free: 49.95 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.809, allocations: 114.2 kB / 1.061 GB, free: 49.95 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.8108, allocations: 1.009 MB / 1.062 GB, free: 49.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.8111, allocations: 423.5 kB / 1.063 GB, free: 49.92 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.8116, allocations: 475.4 kB / 1.063 GB, free: 49.86 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.8136, allocations: 1.543 MB / 1.065 GB, free: 49.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8136, allocations: 0 / 1.065 GB, free: 49.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8136, allocations: 0.5 kB / 1.065 GB, free: 49.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.8136, allocations: 0.7188 kB / 1.065 GB, free: 49.72 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.001662/0.8153, allocations: 1.65 MB / 1.066 GB, free: 48.82 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.8153, allocations: 11.62 kB / 1.066 GB, free: 48.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008103/0.8161, allocations: 355.3 kB / 1.067 GB, free: 48.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.8173, allocations: 0.9942 MB / 1.068 GB, free: 48.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.8174, allocations: 300.7 kB / 1.068 GB, free: 48.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.8175, allocations: 106.5 kB / 1.068 GB, free: 48.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.8181, allocations: 0.6437 MB / 1.069 GB, free: 47.98 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.8181, allocations: 0 / 1.069 GB, free: 47.98 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.8182, allocations: 34.59 kB / 1.069 GB, free: 47.98 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.8182, allocations: 22.62 kB / 1.069 GB, free: 47.98 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.8185, allocations: 245.8 kB / 1.069 GB, free: 47.96 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.002396/0.8209, allocations: 2.946 MB / 1.072 GB, free: 46.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.8211, allocations: 78.17 kB / 1.072 GB, free: 46.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.8211, allocations: 50.75 kB / 1.072 GB, free: 46.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.8214, allocations: 104.6 kB / 1.072 GB, free: 46.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.8214, allocations: 37.08 kB / 1.072 GB, free: 46.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.8214, allocations: 3.156 kB / 1.072 GB, free: 46.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0004805/0.8219, allocations: 267.2 kB / 1.072 GB, free: 46.28 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.8219, allocations: 55.84 kB / 1.073 GB, free: 46.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.8224, allocations: 0.7811 MB / 1.073 GB, free: 45.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.8225, allocations: 35.42 kB / 1.073 GB, free: 45.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.8228, allocations: 0.6555 MB / 1.074 GB, free: 45.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.8228, allocations: 93.98 kB / 1.074 GB, free: 45.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.8229, allocations: 163.8 kB / 1.074 GB, free: 45.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.823, allocations: 0.5085 MB / 1.075 GB, free: 45.05 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.8231, allocations: 54.5 kB / 1.075 GB, free: 45.05 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.8235, allocations: 1.064 MB / 1.076 GB, free: 43.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.8239, allocations: 0.7603 MB / 1.077 GB, free: 43.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8239, allocations: 3.125 kB / 1.077 GB, free: 43.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005914/0.8245, allocations: 0.5747 MB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.8246, allocations: 16.81 kB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.8246, allocations: 12.62 kB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.8246, allocations: 20.38 kB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.8249, allocations: 155.4 kB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.8249, allocations: 28.98 kB / 1.077 GB, free: 42.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.8252, allocations: 83.59 kB / 1.077 GB, free: 42.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.8252, allocations: 44.77 kB / 1.077 GB, free: 42.89 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.0001658/0.8254, allocations: 213 kB / 1.078 GB, free: 42.72 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.8254, allocations: 101.3 kB / 1.078 GB, free: 42.67 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.8258, allocations: 266.8 kB / 1.078 GB, free: 42.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.8258, allocations: 6.969 kB / 1.078 GB, free: 42.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.8258, allocations: 0.8438 kB / 1.078 GB, free: 42.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8258, allocations: 3.094 kB / 1.078 GB, free: 42.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.8267, allocations: 0.9956 MB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.8267, allocations: 5.156 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.8268, allocations: 41.52 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8268, allocations: 9.156 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.8268, allocations: 12.38 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.8268, allocations: 11.36 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8268, allocations: 8.656 kB / 1.079 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.8271, allocations: 0.5176 MB / 1.08 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8272, allocations: 126.3 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.8273, allocations: 14.39 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8274, allocations: 6.656 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.8274, allocations: 32.02 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.8274, allocations: 12.97 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002697/0.8277, allocations: 466.7 kB / 1.08 GB, free: 41.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8277, allocations: 1.062 kB / 1.08 GB, free: 41.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006102/0.8283, allocations: 328.1 kB / 1.081 GB, free: 41.36 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.0003112/0.8286, allocations: 242.5 kB / 1.081 GB, free: 41.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.8289, allocations: 283 kB / 1.081 GB, free: 41.24 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8289, allocations: 0 / 1.081 GB, free: 41.24 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.829, allocations: 79.89 kB / 1.081 GB, free: 41.23 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.8298, allocations: 297.5 kB / 1.081 GB, free: 41.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.8314, allocations: 1.659 MB / 1.083 GB, free: 40.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.8316, allocations: 223.2 kB / 1.083 GB, free: 40.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.8319, allocations: 124 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.8322, allocations: 293.7 kB / 1.084 GB, free: 40.08 MB / 1.01 GB Notification: Performance of SimCode: time 7.71e-07/0.8322, allocations: 0.7812 kB / 1.084 GB, free: 40.08 MB / 1.01 GB Notification: Performance of Templates: time 0.02009/0.8523, allocations: 12.55 MB / 1.096 GB, free: 38.82 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.824066978413612]