Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009509/0.0009509, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001135/0.001135, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.981/0.981, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8128 GB, free: 364 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.049e-05, allocations: 2.312 kB / 0.8128 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1255/0.1255, allocations: 147 MB / 0.9563 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1266, allocations: 0.5686 MB / 0.9569 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1268, allocations: 15.88 kB / 0.9569 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.1271, allocations: 131.1 kB / 0.957 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1274, allocations: 99.3 kB / 0.9571 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1284, allocations: 0.5368 MB / 0.9576 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1287, allocations: 422.5 kB / 0.958 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1289, allocations: 82.72 kB / 0.9581 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1291, allocations: 239.3 kB / 0.9583 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1293, allocations: 127.6 kB / 0.9584 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1293, allocations: 16 kB / 0.9585 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.1298, allocations: 386.6 kB / 0.9588 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.1299, allocations: 87.78 kB / 0.9589 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.1299, allocations: 67.78 kB / 0.959 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1303, allocations: 386.7 kB / 0.9593 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1303, allocations: 0 / 0.9593 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1303, allocations: 3.938 kB / 0.9594 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1303, allocations: 0 / 0.9594 GB, free: 9.746 MB / 0.8698 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.0003907/0.1307, allocations: 0.5502 MB / 0.9599 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1308, allocations: 8.031 kB / 0.9599 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.1309, allocations: 72.72 kB / 0.96 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1311, allocations: 210.1 kB / 0.9602 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1313, allocations: 238 kB / 0.9604 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1313, allocations: 24 kB / 0.9604 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1315, allocations: 277.8 kB / 0.9607 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1315, allocations: 8 kB / 0.9607 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1315, allocations: 8 kB / 0.9607 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1315, allocations: 11.94 kB / 0.9607 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1316, allocations: 72.66 kB / 0.9608 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.1325, allocations: 1.974 MB / 0.9627 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.1326, allocations: 277.4 kB / 0.963 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.1326, allocations: 130.9 kB / 0.9631 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.1327, allocations: 119.2 kB / 0.9632 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.1327, allocations: 156.5 kB / 0.9634 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1327, allocations: 0 / 0.9634 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.434e-05/0.1328, allocations: 37.66 kB / 0.9634 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003026/0.1331, allocations: 174.5 kB / 0.9636 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1332, allocations: 267.1 kB / 0.9638 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.1332, allocations: 25.7 kB / 0.9638 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1333, allocations: 258.3 kB / 0.9641 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.1333, allocations: 7.938 kB / 0.9641 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1334, allocations: 55.3 kB / 0.9641 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1335, allocations: 0.4923 MB / 0.9646 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.1336, allocations: 11.98 kB / 0.9646 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1337, allocations: 191.7 kB / 0.9648 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1339, allocations: 229.4 kB / 0.965 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1339, allocations: 0 / 0.965 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000233/0.1341, allocations: 165.3 kB / 0.9652 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1342, allocations: 8 kB / 0.9652 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1342, allocations: 4 kB / 0.9652 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1342, allocations: 4 kB / 0.9652 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.1343, allocations: 39.92 kB / 0.9652 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1343, allocations: 7.984 kB / 0.9653 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.1344, allocations: 24.25 kB / 0.9653 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1344, allocations: 16 kB / 0.9653 GB, free: 3.145 MB / 0.8698 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 9.71e-05/0.1345, allocations: 291.6 kB / 0.9656 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1345, allocations: 172.7 kB / 0.9657 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1346, allocations: 157.4 kB / 0.9659 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/0.1346, allocations: 264.1 kB / 0.9661 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-05/0.1347, allocations: 268 kB / 0.9664 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-05/0.1348, allocations: 280.1 kB / 0.9667 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.135, allocations: 0.5082 MB / 0.9672 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.135, allocations: 148.9 kB / 0.9673 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.135, allocations: 152.8 kB / 0.9674 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-05/0.1351, allocations: 268.1 kB / 0.9677 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.1351, allocations: 272.1 kB / 0.968 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.1352, allocations: 275.9 kB / 0.9682 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.228e-05/0.1353, allocations: 264.1 kB / 0.9685 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.1354, allocations: 456.2 kB / 0.9689 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1354, allocations: 168.8 kB / 0.9691 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.1355, allocations: 268 kB / 0.9693 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1356, allocations: 152.8 kB / 0.9695 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.1356, allocations: 275.9 kB / 0.9697 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1357, allocations: 144.9 kB / 0.9699 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.1358, allocations: 184.1 kB / 0.9701 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1358, allocations: 0 / 0.9701 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002448/0.136, allocations: 59.83 kB / 0.9701 GB, free: 14.02 MB / 0.8855 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.0001835/0.1362, allocations: 246.3 kB / 0.9703 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.1363, allocations: 63.45 kB / 0.9704 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1363, allocations: 0 / 0.9704 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1363, allocations: 1.25 kB / 0.9704 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.1369, allocations: 0.7217 MB / 0.9711 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1374, allocations: 433.6 kB / 0.9715 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.1374, allocations: 79.81 kB / 0.9716 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.173e-05/0.1375, allocations: 17.48 kB / 0.9716 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1376, allocations: 78.2 kB / 0.9717 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.1376, allocations: 0 / 0.9717 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of Templates: time 0.003248/0.1408, allocations: 1.348 MB / 0.973 GB, free: 11 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.072958682198077]