Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009892, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8014, allocations: 142.4 MB / 0.9557 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1983/0.9997, allocations: 165.9 MB / 1.118 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007097/1.007, allocations: 5.906 MB / 1.123 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/1.007, allocations: 7.938 kB / 1.123 GB, free: 3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/1.008, allocations: 147.1 kB / 1.124 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/1.008, allocations: 79.5 kB / 1.124 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/1.009, allocations: 498.5 kB / 1.124 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005541/1.01, allocations: 470.5 kB / 1.125 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/1.01, allocations: 131.6 kB / 1.125 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/1.011, allocations: 167.3 kB / 1.125 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/1.011, allocations: 135.4 kB / 1.125 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/1.011, allocations: 4 kB / 1.125 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/1.012, allocations: 0.5103 MB / 1.126 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/1.012, allocations: 59.81 kB / 1.126 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/1.012, allocations: 117.2 kB / 1.126 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/1.012, allocations: 319.2 kB / 1.126 GB, free: 400 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.012, allocations: 0 / 1.126 GB, free: 400 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.984e-06/1.012, allocations: 0 / 1.126 GB, free: 400 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.129e-06/1.012, allocations: 0 / 1.126 GB, free: 400 kB / 0.8731 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.0006245/1.013, allocations: 483 kB / 1.126 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.013, allocations: 12.03 kB / 1.126 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/1.013, allocations: 43.66 kB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/1.014, allocations: 255.3 kB / 1.127 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.014, allocations: 131.4 kB / 1.127 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/1.014, allocations: 20 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/1.014, allocations: 298.8 kB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.014, allocations: 0 / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/1.014, allocations: 11.94 kB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.014, allocations: 11.94 kB / 1.127 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/1.015, allocations: 160.6 kB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/1.016, allocations: 1.583 MB / 1.129 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/1.016, allocations: 169.1 kB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/1.016, allocations: 80.14 kB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/1.016, allocations: 83.22 kB / 1.129 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/1.016, allocations: 105.8 kB / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.016, allocations: 0 / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.624e-05/1.017, allocations: 49.44 kB / 1.129 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/1.017, allocations: 126.7 kB / 1.13 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/1.017, allocations: 314.5 kB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/1.017, allocations: 25.7 kB / 1.13 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.017, allocations: 187.2 kB / 1.13 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/1.017, allocations: 7.984 kB / 1.13 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/1.017, allocations: 21.72 kB / 1.13 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.017, allocations: 330.8 kB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/1.017, allocations: 31.98 kB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/1.018, allocations: 162.3 kB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/1.018, allocations: 204.9 kB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.018, allocations: 0 / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004308/1.018, allocations: 221.4 kB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.018, allocations: 13.5 kB / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.018, allocations: 7.984 kB / 1.131 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.018, allocations: 7.984 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/1.019, allocations: 43.92 kB / 1.131 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.019, allocations: 7.938 kB / 1.131 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.019, allocations: 27.69 kB / 1.131 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/1.019, allocations: 16 kB / 1.131 GB, free: 10.77 MB / 0.8887 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.0001596/1.019, allocations: 225.1 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/1.019, allocations: 120.7 kB / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/1.019, allocations: 121.8 kB / 1.132 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/1.019, allocations: 180.2 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.921e-05/1.019, allocations: 180.2 kB / 1.132 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/1.019, allocations: 188.1 kB / 1.132 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/1.02, allocations: 485.1 kB / 1.132 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.02, allocations: 105 kB / 1.133 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/1.02, allocations: 104.9 kB / 1.133 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.828e-05/1.02, allocations: 180.2 kB / 1.133 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/1.02, allocations: 188.2 kB / 1.133 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.541e-05/1.02, allocations: 184.3 kB / 1.133 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-05/1.02, allocations: 176.3 kB / 1.133 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/1.02, allocations: 323.7 kB / 1.134 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.02, allocations: 217.8 kB / 1.134 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/1.02, allocations: 184.1 kB / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.021, allocations: 105 kB / 1.134 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/1.021, allocations: 184.2 kB / 1.134 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/1.021, allocations: 101 kB / 1.134 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002421/1.021, allocations: 221.9 kB / 1.135 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.021, allocations: 0 / 1.135 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003675/1.021, allocations: 55.83 kB / 1.135 GB, free: 6.805 MB / 0.8887 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.0003145/1.022, allocations: 206.5 kB / 1.135 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001877/1.022, allocations: 79.91 kB / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.022, allocations: 0 / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/1.022, allocations: 3.938 kB / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/1.022, allocations: 0.5451 MB / 1.136 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/1.023, allocations: 498.5 kB / 1.136 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.023, allocations: 0.732 MB / 1.137 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/1.024, allocations: 23.38 kB / 1.137 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of SimCode: time 2.31e-07/1.024, allocations: 0 / 1.137 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of Templates: time 0.00512/1.029, allocations: 2.797 MB / 1.139 GB, free: 1.863 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches