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.001122/0.001122, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009805/0.0009805, allocations: 173 kB / 23.36 MB, free: 1.129 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.9819/0.9819, allocations: 177.2 MB / 203.8 MB, free: 5.449 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.476/2.476, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.754e-06/1.754e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.394e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1503/0.1503, allocations: 149.2 MB / 0.9843 GB, free: 8.422 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.1513, allocations: 0.5957 MB / 0.9849 GB, free: 7.824 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1514, allocations: 7.938 kB / 0.9849 GB, free: 7.816 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.1518, allocations: 123.1 kB / 0.985 GB, free: 7.695 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1524, allocations: 99.25 kB / 0.9851 GB, free: 7.598 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1534, allocations: 0.5368 MB / 0.9856 GB, free: 7.059 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.1538, allocations: 426.5 kB / 0.986 GB, free: 6.641 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.154, allocations: 94.88 kB / 0.9861 GB, free: 6.547 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.1543, allocations: 235.3 kB / 0.9863 GB, free: 6.316 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1545, allocations: 131.6 kB / 0.9865 GB, free: 6.188 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1545, allocations: 16 kB / 0.9865 GB, free: 6.172 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.1551, allocations: 394.7 kB / 0.9869 GB, free: 5.785 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.1552, allocations: 71.75 kB / 0.9869 GB, free: 5.715 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.1552, allocations: 71.83 kB / 0.987 GB, free: 5.645 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.1557, allocations: 382.7 kB / 0.9874 GB, free: 5.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1557, allocations: 0 / 0.9874 GB, free: 5.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1557, allocations: 0 / 0.9874 GB, free: 5.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1557, allocations: 0 / 0.9874 GB, free: 5.27 MB / 0.948 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.000459/0.1562, allocations: 435.8 kB / 0.9878 GB, free: 4.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1562, allocations: 12.62 kB / 0.9878 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.1565, allocations: 64.83 kB / 0.9878 GB, free: 4.746 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1567, allocations: 193.4 kB / 0.988 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.1569, allocations: 246 kB / 0.9883 GB, free: 4.242 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1569, allocations: 28 kB / 0.9883 GB, free: 4.215 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1571, allocations: 238.7 kB / 0.9885 GB, free: 3.938 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1571, allocations: 0 / 0.9885 GB, free: 3.938 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1572, allocations: 12 kB / 0.9885 GB, free: 3.926 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1572, allocations: 4 kB / 0.9885 GB, free: 3.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.1573, allocations: 73.8 kB / 0.9886 GB, free: 3.852 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.1581, allocations: 1.33 MB / 0.9899 GB, free: 2.465 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.1582, allocations: 169.1 kB / 0.9901 GB, free: 2.289 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.1582, allocations: 84.12 kB / 0.9901 GB, free: 2.203 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1582, allocations: 79.28 kB / 0.9902 GB, free: 2.125 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1583, allocations: 121.7 kB / 0.9903 GB, free: 1.996 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1583, allocations: 0 / 0.9903 GB, free: 1.996 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.814e-05/0.1583, allocations: 33.64 kB / 0.9904 GB, free: 1.957 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1584, allocations: 126.7 kB / 0.9905 GB, free: 1.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1586, allocations: 200 kB / 0.9907 GB, free: 1.613 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1586, allocations: 29.7 kB / 0.9907 GB, free: 1.578 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.1587, allocations: 207.5 kB / 0.9909 GB, free: 1.371 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.1587, allocations: 3.984 kB / 0.9909 GB, free: 1.367 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1587, allocations: 41.66 kB / 0.991 GB, free: 1.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.1588, allocations: 326.8 kB / 0.9913 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.1588, allocations: 11.98 kB / 0.9913 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.1589, allocations: 147.3 kB / 0.9914 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1591, allocations: 171.7 kB / 0.9916 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1591, allocations: 0 / 0.9916 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001837/0.1592, allocations: 149.2 kB / 0.9917 GB, free: 404 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1593, allocations: 7.938 kB / 0.9917 GB, free: 396 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1593, allocations: 8 kB / 0.9917 GB, free: 388 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1593, allocations: 4.625 kB / 0.9917 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1594, allocations: 47.91 kB / 0.9918 GB, free: 336 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1594, allocations: 11.92 kB / 0.9918 GB, free: 324 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.1595, allocations: 19.89 kB / 0.9918 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1595, allocations: 12 kB / 0.9918 GB, free: 292 kB / 0.948 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.0004056/0.1599, allocations: 199.8 kB / 0.992 GB, free: 80 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.16, allocations: 121 kB / 0.9921 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.16, allocations: 117.4 kB / 0.9922 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.1601, allocations: 180.3 kB / 0.9924 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.163e-05/0.1601, allocations: 180.3 kB / 0.9926 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.19e-05/0.1601, allocations: 180.2 kB / 0.9928 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1603, allocations: 357.4 kB / 0.9931 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.1603, allocations: 108.9 kB / 0.9932 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.1604, allocations: 105 kB / 0.9933 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.32e-05/0.1604, allocations: 184.2 kB / 0.9935 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1604, allocations: 180.3 kB / 0.9937 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.216e-05/0.1605, allocations: 180.2 kB / 0.9938 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-05/0.1605, allocations: 192.2 kB / 0.994 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1606, allocations: 311.7 kB / 0.9943 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1607, allocations: 116.8 kB / 0.9944 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.1607, allocations: 180.3 kB / 0.9946 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.1608, allocations: 120.8 kB / 0.9947 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1609, allocations: 180.3 kB / 0.9949 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1609, allocations: 108.9 kB / 0.995 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.161, allocations: 49.81 kB / 0.995 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.161, allocations: 0 / 0.995 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002397/0.1612, allocations: 67.78 kB / 0.9951 GB, free: 12.76 MB / 0.9636 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.0001913/0.1614, allocations: 183.6 kB / 0.9953 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1615, allocations: 57.95 kB / 0.9953 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.1615, allocations: 0 / 0.9953 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.1615, allocations: 4.25 kB / 0.9953 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1618, allocations: 475.7 kB / 0.9958 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1623, allocations: 392.2 kB / 0.9962 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.1624, allocations: 75.81 kB / 0.9962 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.1624, allocations: 25.42 kB / 0.9963 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1625, allocations: 59.38 kB / 0.9963 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.1625, allocations: 0 / 0.9963 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Templates: time 0.003362/0.1659, allocations: 1.336 MB / 0.9976 GB, free: 10.13 MB / 0.9636 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 -s gbode -gbm=radauIIA3 -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: 5.429287149105221]