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.001388/0.001388, 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.0009969/0.0009969, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9263/0.9263, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.338/2.338, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.704e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1388/0.1389, allocations: 149.1 MB / 0.9842 GB, free: 8.566 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.1397, allocations: 0.5918 MB / 0.9848 GB, free: 7.973 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1398, allocations: 11.94 kB / 0.9848 GB, free: 7.961 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1402, allocations: 123.1 kB / 0.9849 GB, free: 7.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1404, allocations: 95.31 kB / 0.985 GB, free: 7.746 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.1414, allocations: 0.5407 MB / 0.9855 GB, free: 7.203 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1418, allocations: 426.5 kB / 0.9859 GB, free: 6.785 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.142, allocations: 94.88 kB / 0.986 GB, free: 6.691 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1422, allocations: 243.2 kB / 0.9863 GB, free: 6.453 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1424, allocations: 131.6 kB / 0.9864 GB, free: 6.324 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1424, allocations: 16 kB / 0.9864 GB, free: 6.309 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.1429, allocations: 386.7 kB / 0.9868 GB, free: 5.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.143, allocations: 67.75 kB / 0.9868 GB, free: 5.863 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.143, allocations: 71.83 kB / 0.9869 GB, free: 5.793 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.1435, allocations: 382.7 kB / 0.9873 GB, free: 5.418 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1435, allocations: 3.984 kB / 0.9873 GB, free: 5.414 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1435, allocations: 0 / 0.9873 GB, free: 5.414 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1435, allocations: 0 / 0.9873 GB, free: 5.414 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.0003937/0.1439, allocations: 431.8 kB / 0.9877 GB, free: 4.969 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1439, allocations: 12.62 kB / 0.9877 GB, free: 4.957 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.1441, allocations: 64.83 kB / 0.9878 GB, free: 4.895 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1443, allocations: 185.5 kB / 0.9879 GB, free: 4.688 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.1445, allocations: 250 kB / 0.9882 GB, free: 4.395 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1445, allocations: 24 kB / 0.9882 GB, free: 4.371 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1447, allocations: 242.6 kB / 0.9884 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1447, allocations: 0 / 0.9884 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1447, allocations: 12 kB / 0.9884 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1447, allocations: 4 kB / 0.9884 GB, free: 4.074 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.1448, allocations: 89.72 kB / 0.9885 GB, free: 3.988 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.1457, allocations: 1.322 MB / 0.9898 GB, free: 2.609 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.1458, allocations: 173.1 kB / 0.99 GB, free: 2.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.1458, allocations: 84.14 kB / 0.9901 GB, free: 2.344 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1458, allocations: 75.28 kB / 0.9901 GB, free: 2.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1459, allocations: 117.7 kB / 0.9902 GB, free: 2.145 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.1459, allocations: 0 / 0.9902 GB, free: 2.145 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.237e-05/0.1459, allocations: 29.7 kB / 0.9903 GB, free: 2.109 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.146, allocations: 130.7 kB / 0.9904 GB, free: 1.969 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1461, allocations: 208 kB / 0.9906 GB, free: 1.754 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.1461, allocations: 25.7 kB / 0.9906 GB, free: 1.723 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1462, allocations: 199.6 kB / 0.9908 GB, free: 1.523 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.1462, allocations: 3.984 kB / 0.9908 GB, free: 1.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.1462, allocations: 49.64 kB / 0.9909 GB, free: 1.465 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.1463, allocations: 322.8 kB / 0.9912 GB, free: 1.141 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.1463, allocations: 8 kB / 0.9912 GB, free: 1.133 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.1464, allocations: 147.1 kB / 0.9913 GB, free: 0.9297 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1465, allocations: 171.7 kB / 0.9915 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1465, allocations: 4 kB / 0.9915 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001647/0.1467, allocations: 149.2 kB / 0.9916 GB, free: 0.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1467, allocations: 11.94 kB / 0.9916 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1467, allocations: 8.609 kB / 0.9916 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1467, allocations: 8 kB / 0.9917 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.1468, allocations: 43.92 kB / 0.9917 GB, free: 484 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1468, allocations: 7.938 kB / 0.9917 GB, free: 476 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.1469, allocations: 15.89 kB / 0.9917 GB, free: 460 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1469, allocations: 12 kB / 0.9917 GB, free: 448 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 8.465e-05/0.147, allocations: 203.8 kB / 0.9919 GB, free: 232 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1471, allocations: 116.8 kB / 0.992 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.1471, allocations: 117.4 kB / 0.9921 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.1471, allocations: 176.3 kB / 0.9923 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-05/0.1472, allocations: 192.3 kB / 0.9925 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-05/0.1472, allocations: 180.3 kB / 0.9927 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1474, allocations: 357.4 kB / 0.993 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/0.1474, allocations: 104.9 kB / 0.9931 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.1474, allocations: 105 kB / 0.9932 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.074e-05/0.1475, allocations: 180.2 kB / 0.9934 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.1475, allocations: 180.3 kB / 0.9936 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-05/0.1475, allocations: 184.2 kB / 0.9937 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.025e-05/0.1476, allocations: 192.2 kB / 0.9939 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.492e-05/0.1477, allocations: 307.8 kB / 0.9942 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1477, allocations: 116.9 kB / 0.9943 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.1478, allocations: 176.3 kB / 0.9945 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1478, allocations: 124.8 kB / 0.9946 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1479, allocations: 176.3 kB / 0.9948 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1479, allocations: 104.9 kB / 0.9949 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.148, allocations: 53.81 kB / 0.9949 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.148, allocations: 0 / 0.9949 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002256/0.1482, allocations: 63.78 kB / 0.995 GB, free: 12.92 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.0001934/0.1484, allocations: 187.6 kB / 0.9952 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.1485, allocations: 53.53 kB / 0.9952 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.1485, allocations: 4.375 kB / 0.9952 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.1485, allocations: 4 kB / 0.9952 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1487, allocations: 481.8 kB / 0.9957 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.1493, allocations: 388.2 kB / 0.9961 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.1493, allocations: 79.81 kB / 0.9961 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.303e-05/0.1494, allocations: 21.48 kB / 0.9962 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1494, allocations: 59.38 kB / 0.9962 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/0.1494, allocations: 0 / 0.9962 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.003436/0.1529, allocations: 1.34 MB / 0.9975 GB, free: 10.27 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 -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.307474243920296]