Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001412/0.001412, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.00116/0.00116, allocations: 165 kB / 23.02 MB, free: 1.555 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.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.181/2.181, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.AirToOutlet,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,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,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,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.626e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1401/0.1402, allocations: 149.8 MB / 1.024 GB, free: 28 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0009483/0.1411, allocations: 0.5647 MB / 1.025 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1413, allocations: 11.94 kB / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.1417, allocations: 135.1 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.142, allocations: 91.31 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1431, allocations: 0.5446 MB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000459/0.1436, allocations: 414.6 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.1438, allocations: 94.31 kB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.1441, allocations: 243.3 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.1443, allocations: 127.6 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1443, allocations: 16 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006921/0.145, allocations: 394.6 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1451, allocations: 63.81 kB / 1.027 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1452, allocations: 79.81 kB / 1.027 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.1458, allocations: 378.7 kB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1458, allocations: 0 / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1458, allocations: 4 kB / 1.027 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.1458, allocations: 0 / 1.027 GB, free: 12.89 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005589/0.1464, allocations: 0.5503 MB / 1.028 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1464, allocations: 8.031 kB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.1467, allocations: 72.72 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.147, allocations: 208.2 kB / 1.028 GB, free: 12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1471, allocations: 250 kB / 1.029 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1472, allocations: 19.98 kB / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.1475, allocations: 293.8 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1475, allocations: 4 kB / 1.029 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1475, allocations: 8 kB / 1.029 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1475, allocations: 8 kB / 1.029 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1477, allocations: 88.66 kB / 1.029 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1488, allocations: 2.02 MB / 1.031 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.1489, allocations: 273.4 kB / 1.031 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.1489, allocations: 134.8 kB / 1.031 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.149, allocations: 119.2 kB / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.149, allocations: 152.6 kB / 1.032 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.149, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 7.118e-05/0.1491, allocations: 41.55 kB / 1.032 GB, free: 8.387 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1491, allocations: 170.6 kB / 1.032 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1493, allocations: 275 kB / 1.032 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.1493, allocations: 25.7 kB / 1.032 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.1495, allocations: 254.3 kB / 1.032 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.1495, allocations: 15.94 kB / 1.032 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1496, allocations: 47.31 kB / 1.032 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1497, allocations: 0.4923 MB / 1.033 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.1497, allocations: 12 kB / 1.033 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1498, allocations: 198.2 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.15, allocations: 225.5 kB / 1.033 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.15, allocations: 0 / 1.033 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002609/0.1503, allocations: 181.2 kB / 1.033 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1503, allocations: 8 kB / 1.033 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1503, allocations: 4 kB / 1.033 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1503, allocations: 4 kB / 1.033 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1504, allocations: 43.92 kB / 1.033 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1504, allocations: 12.45 kB / 1.033 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.1505, allocations: 23.84 kB / 1.033 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1506, allocations: 16 kB / 1.034 GB, free: 6.176 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001052/0.1507, allocations: 287.6 kB / 1.034 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.1507, allocations: 160.8 kB / 1.034 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.1508, allocations: 165.3 kB / 1.034 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.556e-05/0.1508, allocations: 264.1 kB / 1.034 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/0.1509, allocations: 268.1 kB / 1.035 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.1509, allocations: 268 kB / 1.035 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1512, allocations: 0.5467 MB / 1.035 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.1512, allocations: 156.9 kB / 1.036 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1512, allocations: 148.9 kB / 1.036 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.1513, allocations: 272 kB / 1.036 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.1514, allocations: 268.3 kB / 1.036 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.879e-05/0.1514, allocations: 268.1 kB / 1.036 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.284e-05/0.1515, allocations: 272 kB / 1.037 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1516, allocations: 459.9 kB / 1.037 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.1517, allocations: 168.8 kB / 1.037 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.1518, allocations: 264.1 kB / 1.038 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.1519, allocations: 152.8 kB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.1519, allocations: 268.1 kB / 1.038 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.152, allocations: 148.8 kB / 1.038 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001065/0.1521, allocations: 183.1 kB / 1.038 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1521, allocations: 0 / 1.038 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002716/0.1524, allocations: 67.72 kB / 1.038 GB, free: 1.02 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002109/0.1526, allocations: 246.3 kB / 1.039 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1527, allocations: 69.53 kB / 1.039 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1527, allocations: 0 / 1.039 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1527, allocations: 1.25 kB / 1.039 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1531, allocations: 0.7101 MB / 1.039 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.1538, allocations: 435.1 kB / 1.04 GB, free: 15.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.1538, allocations: 83.67 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.499e-05/0.1539, allocations: 25.47 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.1539, allocations: 16.5 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of SimCode: time 7.22e-07/0.1539, allocations: 0 / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of Templates: time 0.003282/0.1572, allocations: 1.176 MB / 1.041 GB, free: 14.23 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.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.256073490716517]