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.0014/0.0014, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001781/0.001781, allocations: 173 kB / 24.05 MB, free: 452 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.9519/0.9519, allocations: 177.1 MB / 204.5 MB, free: 5.113 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.083/2.083, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 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 1.693e-06/1.693e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.496e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1457/0.1457, allocations: 158.9 MB / 1.035 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009098/0.1548, allocations: 6.523 MB / 1.041 GB, free: 52 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.1565, allocations: 87.3 kB / 1.041 GB, free: 15.96 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1578, allocations: 0.5739 MB / 1.042 GB, free: 15.39 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.1604, allocations: 1.286 MB / 1.043 GB, free: 14.09 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.1643, allocations: 2.158 MB / 1.045 GB, free: 11.93 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003636/0.1679, allocations: 2.847 MB / 1.048 GB, free: 9.074 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.1691, allocations: 1.015 MB / 1.049 GB, free: 8.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.1709, allocations: 1.563 MB / 1.05 GB, free: 6.453 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.1718, allocations: 0.8179 MB / 1.051 GB, free: 5.633 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1719, allocations: 112 kB / 1.051 GB, free: 5.523 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1734, allocations: 1.005 MB / 1.052 GB, free: 4.516 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.1737, allocations: 430.5 kB / 1.053 GB, free: 4.094 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006768/0.1744, allocations: 470.9 kB / 1.053 GB, free: 3.633 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.1762, allocations: 1.542 MB / 1.055 GB, free: 2.086 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1762, allocations: 3.938 kB / 1.055 GB, free: 2.082 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1762, allocations: 4 kB / 1.055 GB, free: 2.078 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.1762, allocations: 0 / 1.055 GB, free: 2.078 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.001397/0.1776, allocations: 1.65 MB / 1.056 GB, free: 396 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1777, allocations: 8.031 kB / 1.056 GB, free: 388 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.1784, allocations: 354.5 kB / 1.056 GB, free: 32 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4538/0.6322, allocations: 0.9896 MB / 1.057 GB, free: 78.33 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.6323, allocations: 301.9 kB / 1.058 GB, free: 78.08 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.6324, allocations: 105.4 kB / 1.058 GB, free: 78.08 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.6331, allocations: 0.6403 MB / 1.058 GB, free: 77.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6331, allocations: 2.656 kB / 1.058 GB, free: 77.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.6332, allocations: 36.22 kB / 1.058 GB, free: 77.9 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.6332, allocations: 20.53 kB / 1.059 GB, free: 77.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.6335, allocations: 246.1 kB / 1.059 GB, free: 77.88 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.002345/0.6359, allocations: 2.938 MB / 1.062 GB, free: 76.44 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.636, allocations: 78.06 kB / 1.062 GB, free: 76.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.6361, allocations: 48.86 kB / 1.062 GB, free: 76.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.6363, allocations: 101.2 kB / 1.062 GB, free: 76.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.6363, allocations: 40.7 kB / 1.062 GB, free: 76.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 3.496e-06/0.6363, allocations: 1.406 kB / 1.062 GB, free: 76.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0004892/0.6368, allocations: 270.6 kB / 1.062 GB, free: 76.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.6368, allocations: 55.31 kB / 1.062 GB, free: 76.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.6374, allocations: 0.7797 MB / 1.063 GB, free: 75.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.6374, allocations: 37.02 kB / 1.063 GB, free: 75.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.6376, allocations: 0.6553 MB / 1.064 GB, free: 75.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.6377, allocations: 89.53 kB / 1.064 GB, free: 75.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6378, allocations: 171.6 kB / 1.064 GB, free: 75.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.6379, allocations: 0.5058 MB / 1.064 GB, free: 75.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.638, allocations: 50.25 kB / 1.064 GB, free: 75.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.6384, allocations: 1.064 MB / 1.065 GB, free: 73.84 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.6389, allocations: 0.7581 MB / 1.066 GB, free: 73.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6389, allocations: 6.688 kB / 1.066 GB, free: 73.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007224/0.6396, allocations: 0.5729 MB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.6396, allocations: 11.81 kB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6397, allocations: 17.48 kB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.6397, allocations: 20.28 kB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.64, allocations: 154.4 kB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.64, allocations: 27.8 kB / 1.067 GB, free: 73.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.6404, allocations: 91.06 kB / 1.067 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.6404, allocations: 37.44 kB / 1.067 GB, free: 72.98 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.0001962/0.6406, allocations: 221 kB / 1.067 GB, free: 72.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.6407, allocations: 93.75 kB / 1.067 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.6411, allocations: 270 kB / 1.068 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6411, allocations: 2.5 kB / 1.068 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6411, allocations: 0 / 1.068 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6411, allocations: 7.641 kB / 1.068 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.6423, allocations: 0.9985 MB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6423, allocations: 3.938 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.6424, allocations: 38 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6424, allocations: 5.812 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6424, allocations: 16.75 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.6424, allocations: 8.75 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6425, allocations: 2.844 kB / 1.069 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.6428, allocations: 0.5204 MB / 1.069 GB, free: 71.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.6429, allocations: 126.4 kB / 1.069 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.643, allocations: 14.77 kB / 1.069 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6431, allocations: 9.25 kB / 1.069 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.6432, allocations: 32.42 kB / 1.069 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.6432, allocations: 14.86 kB / 1.069 GB, free: 71.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002748/0.6435, allocations: 459.6 kB / 1.07 GB, free: 71.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6435, allocations: 0 / 1.07 GB, free: 71.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007775/0.6442, allocations: 332.8 kB / 1.07 GB, free: 71.52 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.0003344/0.6446, allocations: 244.9 kB / 1.07 GB, free: 71.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.6449, allocations: 285.2 kB / 1.071 GB, free: 71.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6449, allocations: 0.9375 kB / 1.071 GB, free: 71.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.645, allocations: 83.11 kB / 1.071 GB, free: 71.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.6458, allocations: 287.8 kB / 1.071 GB, free: 71.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.6478, allocations: 1.661 MB / 1.073 GB, free: 70.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.6479, allocations: 221 kB / 1.073 GB, free: 70.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.6482, allocations: 125.6 kB / 1.073 GB, free: 70.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.6486, allocations: 294.2 kB / 1.073 GB, free: 70.26 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.6486, allocations: 1 kB / 1.073 GB, free: 70.26 MB / 1.01 GB Notification: Performance of Templates: time 0.01596/0.6646, allocations: 12.7 MB / 1.086 GB, free: 69.06 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.21327173197642]