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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006533/0.006533, allocations: 101.7 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.844/2.844, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.23 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3231, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1897/0.5128, allocations: 168.1 MB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006639/0.5194, allocations: 5.988 MB / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.5199, allocations: 7.938 kB / 1.223 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.5206, allocations: 151.1 kB / 1.223 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.5211, allocations: 87.48 kB / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5226, allocations: 494.5 kB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.5233, allocations: 474.6 kB / 1.224 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.5236, allocations: 131.6 kB / 1.224 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.524, allocations: 171.3 kB / 1.224 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.5243, allocations: 159.4 kB / 1.224 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.5243, allocations: 12 kB / 1.224 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.5253, allocations: 0.5142 MB / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5255, allocations: 67.81 kB / 1.225 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.5256, allocations: 95.48 kB / 1.225 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.5263, allocations: 331.3 kB / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5263, allocations: 0 / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5263, allocations: 0 / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.5264, allocations: 0 / 1.225 GB, free: 6.949 MB / 0.9825 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.0007923/0.5272, allocations: 0.5107 MB / 1.226 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5272, allocations: 15.97 kB / 1.226 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.5276, allocations: 43.7 kB / 1.226 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.5279, allocations: 264.4 kB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.5281, allocations: 131.4 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.5281, allocations: 20 kB / 1.226 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.5286, allocations: 290.8 kB / 1.227 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5286, allocations: 4 kB / 1.227 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.5287, allocations: 11.98 kB / 1.227 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5287, allocations: 12 kB / 1.227 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.529, allocations: 160.6 kB / 1.227 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.5305, allocations: 1.579 MB / 1.228 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.5306, allocations: 173.1 kB / 1.228 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.5307, allocations: 84.14 kB / 1.228 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.5307, allocations: 75.28 kB / 1.229 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.5307, allocations: 109.8 kB / 1.229 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.5307, allocations: 3.938 kB / 1.229 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.5309, allocations: 49.45 kB / 1.229 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.5309, allocations: 130.7 kB / 1.229 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.5313, allocations: 310.5 kB / 1.229 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5313, allocations: 33.7 kB / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5314, allocations: 179.2 kB / 1.229 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.5315, allocations: 8 kB / 1.229 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.5315, allocations: 41.61 kB / 1.229 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5317, allocations: 330.8 kB / 1.23 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.5318, allocations: 39.97 kB / 1.23 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.5319, allocations: 162.8 kB / 1.23 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.5322, allocations: 192.9 kB / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5322, allocations: 0 / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004153/0.5326, allocations: 217 kB / 1.23 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5326, allocations: 15.88 kB / 1.23 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5326, allocations: 7.984 kB / 1.23 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5327, allocations: 8.625 kB / 1.23 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5328, allocations: 39.92 kB / 1.23 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5329, allocations: 8 kB / 1.23 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.533, allocations: 39.47 kB / 1.23 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.5331, allocations: 12 kB / 1.23 GB, free: 1.262 MB / 0.9825 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.0001478/0.5332, allocations: 213.1 kB / 1.231 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.5333, allocations: 124.7 kB / 1.231 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.5334, allocations: 121.8 kB / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/0.5335, allocations: 184.2 kB / 1.231 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.583e-05/0.5335, allocations: 184.3 kB / 1.231 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-05/0.5336, allocations: 184.2 kB / 1.231 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5339, allocations: 477.1 kB / 1.232 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.5339, allocations: 101 kB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.534, allocations: 104.9 kB / 1.232 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.933e-05/0.534, allocations: 188.2 kB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.5341, allocations: 184.2 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.945e-05/0.5342, allocations: 180.2 kB / 1.233 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.261e-05/0.5342, allocations: 180.3 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.5344, allocations: 327.5 kB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.5345, allocations: 205.8 kB / 1.233 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.5346, allocations: 192.1 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5347, allocations: 105 kB / 1.234 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.5348, allocations: 180.2 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.5348, allocations: 105 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002316/0.5351, allocations: 221.9 kB / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5351, allocations: 0 / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003636/0.5354, allocations: 47.94 kB / 1.234 GB, free: 13.31 MB / 0.9981 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.0003453/0.5358, allocations: 214.8 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.536, allocations: 84.83 kB / 1.234 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.536, allocations: 0 / 1.234 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.536, allocations: 4.125 kB / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.5365, allocations: 0.5511 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.5371, allocations: 487.4 kB / 1.235 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5374, allocations: 0.7359 MB / 1.236 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.5375, allocations: 19.42 kB / 1.236 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.5375, allocations: 4 kB / 1.236 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.004707/0.5422, allocations: 2.814 MB / 1.239 GB, free: 8.344 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches