Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001915/0.001915, allocations: 79.69 kB / 20.23 MB, free: 4.184 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.002177/0.002177, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.644/1.644, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8108 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.38e-05, allocations: 5.891 kB / 0.8108 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.014/1.014, allocations: 248.2 MB / 1.053 GB, free: 19.61 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02922/1.043, allocations: 22.91 MB / 1.076 GB, free: 19.39 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/1.046, allocations: 78.09 kB / 1.076 GB, free: 19.39 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0033/1.049, allocations: 0.9999 MB / 1.077 GB, free: 19.39 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/1.054, allocations: 1.555 MB / 1.078 GB, free: 19.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006295/1.06, allocations: 2.039 MB / 1.08 GB, free: 19.25 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004471/1.065, allocations: 2.724 MB / 1.083 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/1.067, allocations: 0.9915 MB / 1.084 GB, free: 18.7 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/1.072, allocations: 2.023 MB / 1.086 GB, free: 18.49 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/1.074, allocations: 0.8097 MB / 1.087 GB, free: 18.41 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0004011/1.074, allocations: 110.6 kB / 1.087 GB, free: 18.41 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/1.078, allocations: 1.417 MB / 1.088 GB, free: 18.26 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007021/1.079, allocations: 408.9 kB / 1.088 GB, free: 18.2 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.08, allocations: 447.9 kB / 1.089 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005705/1.086, allocations: 2.36 MB / 1.091 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.086, allocations: 1 kB / 1.091 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.655e-06/1.086, allocations: 0 / 1.091 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.778e-05/1.086, allocations: 0 / 1.091 GB, free: 17.93 MB / 0.9323 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.003197/1.089, allocations: 1.663 MB / 1.093 GB, free: 17.06 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.089, allocations: 9.344 kB / 1.093 GB, free: 17.06 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.091, allocations: 343.2 kB / 1.093 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.092, allocations: 0.9346 MB / 1.094 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/1.092, allocations: 292.7 kB / 1.094 GB, free: 16.43 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.093, allocations: 90.75 kB / 1.094 GB, free: 16.43 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/1.094, allocations: 0.8836 MB / 1.095 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/1.094, allocations: 0.875 kB / 1.095 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/1.094, allocations: 39.95 kB / 1.095 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.094, allocations: 25.06 kB / 1.095 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/1.095, allocations: 472.5 kB / 1.096 GB, free: 16.25 MB / 0.9323 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.003879/1.099, allocations: 3.451 MB / 1.099 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/1.099, allocations: 127.2 kB / 1.099 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/1.099, allocations: 96.39 kB / 1.099 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/1.1, allocations: 123 kB / 1.099 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/1.1, allocations: 34.39 kB / 1.1 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/1.1, allocations: 3.188 kB / 1.1 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24): time 0.0009039/1.101, allocations: 343.7 kB / 1.1 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/1.101, allocations: 54.44 kB / 1.1 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.102, allocations: 0.9335 MB / 1.101 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/1.102, allocations: 31.89 kB / 1.101 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/1.102, allocations: 0.6494 MB / 1.101 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/1.102, allocations: 103.4 kB / 1.102 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/1.102, allocations: 117.1 kB / 1.102 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.103, allocations: 0.5081 MB / 1.102 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/1.103, allocations: 92.34 kB / 1.102 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/1.103, allocations: 0.7929 MB / 1.103 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/1.104, allocations: 480.3 kB / 1.104 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.104, allocations: 3.438 kB / 1.104 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007538/1.104, allocations: 462.3 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.104, allocations: 8.938 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.104, allocations: 5.5 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.105, allocations: 9.031 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/1.105, allocations: 93.48 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.105, allocations: 13.53 kB / 1.104 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/1.105, allocations: 44.95 kB / 1.104 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.105, allocations: 29.59 kB / 1.104 GB, free: 12.04 MB / 0.9323 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.0003155/1.106, allocations: 285.2 kB / 1.104 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.106, allocations: 91.02 kB / 1.105 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/1.106, allocations: 330.6 kB / 1.105 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.106, allocations: 3.125 kB / 1.105 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.106, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.106, allocations: 6.828 kB / 1.105 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/1.109, allocations: 1.515 MB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.109, allocations: 4.25 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/1.109, allocations: 45.27 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.109, allocations: 7.344 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/1.109, allocations: 5.719 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.109, allocations: 9 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.109, allocations: 7.188 kB / 1.106 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/1.109, allocations: 0.5626 MB / 1.107 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/1.11, allocations: 117.8 kB / 1.107 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/1.11, allocations: 12.27 kB / 1.107 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/1.11, allocations: 10 kB / 1.107 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/1.11, allocations: 29.66 kB / 1.107 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/1.11, allocations: 14.38 kB / 1.107 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006868/1.111, allocations: 0.5709 MB / 1.108 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 2.344 kB / 1.108 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009774/1.112, allocations: 329.4 kB / 1.108 GB, free: 10.54 MB / 0.9323 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.0006648/1.112, allocations: 332.2 kB / 1.108 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005519/1.113, allocations: 275.6 kB / 1.109 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.113, allocations: 2.344 kB / 1.109 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/1.113, allocations: 117.4 kB / 1.109 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/1.114, allocations: 291.6 kB / 1.109 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/1.117, allocations: 1.568 MB / 1.11 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/1.117, allocations: 478.2 kB / 1.111 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005314/1.118, allocations: 138 kB / 1.111 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.118, allocations: 54.28 kB / 1.111 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of SimCode: time 7.41e-07/1.118, allocations: 1.125 kB / 1.111 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of Templates: time 0.02217/1.14, allocations: 12.18 MB / 1.123 GB, free: 7.699 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.049299693084322]