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.0009556/0.0009556, allocations: 71.75 kB / 20.97 MB, free: 3.582 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 / 24.28 MB, free: 280 kB / 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.9237/0.9237, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.923/1.923, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.[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_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.[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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.064e-05, allocations: 5.906 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5752/0.5752, allocations: 248.5 MB / 1.054 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.5911, allocations: 22.94 MB / 1.077 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007957/0.5919, allocations: 81.09 kB / 1.077 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.5936, allocations: 0.9938 MB / 1.078 GB, free: 48.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.5957, allocations: 1.559 MB / 1.079 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.5985, allocations: 2.038 MB / 1.081 GB, free: 48.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.6005, allocations: 2.721 MB / 1.084 GB, free: 48 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.6013, allocations: 0.9944 MB / 1.085 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.6033, allocations: 2.023 MB / 1.087 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.604, allocations: 0.8114 MB / 1.088 GB, free: 47.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6041, allocations: 110.2 kB / 1.088 GB, free: 47.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.6057, allocations: 1.412 MB / 1.089 GB, free: 47.45 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.606, allocations: 411.9 kB / 1.089 GB, free: 47.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.6063, allocations: 449 kB / 1.09 GB, free: 47.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.6081, allocations: 1.647 MB / 1.091 GB, free: 47.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6081, allocations: 0.5 kB / 1.091 GB, free: 47.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6081, allocations: 1.562 kB / 1.091 GB, free: 47.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.6081, allocations: 0 / 1.091 GB, free: 47.12 MB / 0.9948 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.001471/0.6096, allocations: 1.558 MB / 1.093 GB, free: 46.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6096, allocations: 9.812 kB / 1.093 GB, free: 46.26 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.6104, allocations: 347.2 kB / 1.093 GB, free: 46.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009376/0.6113, allocations: 0.9261 MB / 1.094 GB, free: 45.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.6114, allocations: 288.5 kB / 1.094 GB, free: 45.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.6115, allocations: 90.25 kB / 1.095 GB, free: 45.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.6123, allocations: 0.692 MB / 1.095 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6124, allocations: 2 kB / 1.095 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.6124, allocations: 35.81 kB / 1.095 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.6124, allocations: 25.75 kB / 1.095 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.6129, allocations: 306.3 kB / 1.096 GB, free: 45.45 MB / 0.9948 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.002295/0.6152, allocations: 3.009 MB / 1.099 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.6154, allocations: 88.27 kB / 1.099 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.6155, allocations: 64.56 kB / 1.099 GB, free: 43.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.6158, allocations: 126.1 kB / 1.099 GB, free: 43.88 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.6159, allocations: 38.42 kB / 1.099 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/0.6159, allocations: 0 / 1.099 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24): time 0.0005542/0.6164, allocations: 269.2 kB / 1.099 GB, free: 43.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.6164, allocations: 55.02 kB / 1.099 GB, free: 43.69 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.6171, allocations: 0.6808 MB / 1.1 GB, free: 43.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6171, allocations: 31.98 kB / 1.1 GB, free: 43.46 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.6174, allocations: 0.6104 MB / 1.1 GB, free: 43.12 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.6174, allocations: 86.5 kB / 1.101 GB, free: 43.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6175, allocations: 106.5 kB / 1.101 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.6176, allocations: 0.493 MB / 1.101 GB, free: 42.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.6177, allocations: 41.7 kB / 1.101 GB, free: 42.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.6179, allocations: 0.7326 MB / 1.102 GB, free: 41.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.6182, allocations: 387.7 kB / 1.102 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6183, allocations: 2.594 kB / 1.102 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000514/0.6188, allocations: 374.3 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6188, allocations: 9.609 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6188, allocations: 9.281 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6188, allocations: 9.344 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.619, allocations: 89.53 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.6191, allocations: 16.12 kB / 1.103 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.6193, allocations: 43.25 kB / 1.103 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6193, allocations: 26.56 kB / 1.103 GB, free: 41.27 MB / 0.9948 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.0001427/0.6195, allocations: 193.3 kB / 1.103 GB, free: 41.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.6196, allocations: 83.16 kB / 1.103 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.62, allocations: 277.8 kB / 1.103 GB, free: 40.99 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.62, allocations: 2.375 kB / 1.103 GB, free: 40.99 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.62, allocations: 1.125 kB / 1.103 GB, free: 40.99 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.62, allocations: 2.391 kB / 1.103 GB, free: 40.99 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.6212, allocations: 1.136 MB / 1.104 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.6212, allocations: 4.594 kB / 1.104 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.6213, allocations: 39.11 kB / 1.104 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6213, allocations: 13.62 kB / 1.104 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.6213, allocations: 11.53 kB / 1.105 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.6213, allocations: 8.703 kB / 1.105 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6213, allocations: 7.031 kB / 1.105 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.6216, allocations: 0.5134 MB / 1.105 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.6218, allocations: 117 kB / 1.105 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.6218, allocations: 13.33 kB / 1.105 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.622, allocations: 10.19 kB / 1.105 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.622, allocations: 31.69 kB / 1.105 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.622, allocations: 20.7 kB / 1.105 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003972/0.6224, allocations: 442.5 kB / 1.106 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6224, allocations: 2.25 kB / 1.106 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006563/0.6231, allocations: 328.3 kB / 1.106 GB, free: 39.77 MB / 0.9948 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.0004122/0.6235, allocations: 315.3 kB / 1.106 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.6238, allocations: 204 kB / 1.106 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6238, allocations: 2.438 kB / 1.106 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.624, allocations: 82.55 kB / 1.107 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.6248, allocations: 292 kB / 1.107 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.6267, allocations: 1.528 MB / 1.108 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.6268, allocations: 217.6 kB / 1.109 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003661/0.6272, allocations: 133.9 kB / 1.109 GB, free: 38.58 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.6273, allocations: 53.88 kB / 1.109 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/0.6273, allocations: 0 / 1.109 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of Templates: time 0.02015/0.6475, allocations: 12.22 MB / 1.121 GB, free: 37.09 MB / 0.9948 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.918215807061642]