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.001192/0.001192, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001034/0.001034, allocations: 185 kB / 24.09 MB, free: 412 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.9502/0.9502, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.826/1.826, allocations: 377.9 MB / 0.6239 GB, free: 8.422 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.232e-06/1.232e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.481e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.121/0.1211, allocations: 147 MB / 0.9555 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0005799/0.1216, allocations: 0.557 MB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1218, allocations: 11.88 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1221, allocations: 135 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1223, allocations: 99.31 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.123, allocations: 0.533 MB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1233, allocations: 422.5 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1235, allocations: 88.22 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1237, allocations: 239.3 kB / 0.9576 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1239, allocations: 131.6 kB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1239, allocations: 16 kB / 0.9577 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.1246, allocations: 382.7 kB / 0.9581 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.1246, allocations: 75.73 kB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1247, allocations: 71.83 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1251, allocations: 390.6 kB / 0.9586 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1251, allocations: 0 / 0.9586 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.041e-06/0.1251, allocations: 0 / 0.9586 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1251, allocations: 0 / 0.9586 GB, free: 10.87 MB / 0.9167 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.00039/0.1255, allocations: 0.5467 MB / 0.9591 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1255, allocations: 19.97 kB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1257, allocations: 76.66 kB / 0.9592 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1259, allocations: 218.5 kB / 0.9594 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.126, allocations: 238 kB / 0.9596 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.126, allocations: 24 kB / 0.9597 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.1263, allocations: 277.8 kB / 0.9599 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1263, allocations: 3.938 kB / 0.9599 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1263, allocations: 12 kB / 0.9599 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1263, allocations: 4 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.1264, allocations: 84.64 kB / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.1272, allocations: 1.974 MB / 0.962 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.1273, allocations: 269.4 kB / 0.9622 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.1273, allocations: 126.9 kB / 0.9623 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1273, allocations: 123.2 kB / 0.9624 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1273, allocations: 160.5 kB / 0.9626 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1273, allocations: 4 kB / 0.9626 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.054e-05/0.1274, allocations: 41.61 kB / 0.9626 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1274, allocations: 174.5 kB / 0.9628 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1276, allocations: 262.9 kB / 0.9631 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.1276, allocations: 29.7 kB / 0.9631 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.1277, allocations: 262.3 kB / 0.9633 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.1277, allocations: 0 / 0.9633 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1277, allocations: 47.36 kB / 0.9634 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1278, allocations: 0.4962 MB / 0.9639 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.1279, allocations: 15.94 kB / 0.9639 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.128, allocations: 189.7 kB / 0.9641 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1281, allocations: 225.4 kB / 0.9643 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1281, allocations: 0 / 0.9643 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001835/0.1283, allocations: 169.5 kB / 0.9644 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1283, allocations: 4 kB / 0.9644 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1283, allocations: 8 kB / 0.9645 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1283, allocations: 7.938 kB / 0.9645 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.1284, allocations: 35.92 kB / 0.9645 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1284, allocations: 11.98 kB / 0.9645 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.1285, allocations: 23.84 kB / 0.9645 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1285, allocations: 8 kB / 0.9645 GB, free: 4.246 MB / 0.9167 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.0002727/0.1288, allocations: 291.8 kB / 0.9648 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.1288, allocations: 168.7 kB / 0.965 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1289, allocations: 165.4 kB / 0.9651 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/0.1289, allocations: 272 kB / 0.9654 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/0.1289, allocations: 264.1 kB / 0.9656 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.645e-05/0.129, allocations: 268.1 kB / 0.9659 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1292, allocations: 0.516 MB / 0.9664 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.1292, allocations: 144.9 kB / 0.9665 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.1292, allocations: 148.8 kB / 0.9667 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.814e-05/0.1293, allocations: 268.1 kB / 0.9669 GB, free: 1.676 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.1293, allocations: 264.1 kB / 0.9672 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/0.1294, allocations: 279.9 kB / 0.9675 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-05/0.1294, allocations: 272.1 kB / 0.9677 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1295, allocations: 456.2 kB / 0.9682 GB, free: 392 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1296, allocations: 168.7 kB / 0.9683 GB, free: 216 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.1296, allocations: 268.1 kB / 0.9686 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.1297, allocations: 148.8 kB / 0.9687 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.1298, allocations: 272 kB / 0.969 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.1298, allocations: 148.9 kB / 0.9691 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.1299, allocations: 176.1 kB / 0.9693 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1299, allocations: 0 / 0.9693 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002137/0.1301, allocations: 67.78 kB / 0.9693 GB, free: 15.12 MB / 0.9323 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.0001489/0.1302, allocations: 238.4 kB / 0.9696 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.1303, allocations: 73.55 kB / 0.9696 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1303, allocations: 0 / 0.9696 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.1303, allocations: 3.938 kB / 0.9696 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1306, allocations: 0.7139 MB / 0.9703 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.131, allocations: 432.1 kB / 0.9708 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.1311, allocations: 75.81 kB / 0.9708 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.863e-05/0.1311, allocations: 29.36 kB / 0.9709 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1312, allocations: 78.2 kB / 0.9709 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of SimCode: time 4.21e-07/0.1312, allocations: 0 / 0.9709 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of Templates: time 0.003095/0.1343, allocations: 1.331 MB / 0.9722 GB, free: 12.11 MB / 0.9323 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: 4.961534603964537]