Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001121/0.00112, allocations: 108 kB / 15.61 MB, free: 152 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.001135/0.001135, allocations: 197 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7103 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 55.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7443/0.7458, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2053/0.9511, allocations: 170.3 MB / 1.184 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006545/0.9577, allocations: 5.983 MB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.9581, allocations: 8 kB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.9587, allocations: 186.7 kB / 1.19 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.959, allocations: 91.38 kB / 1.19 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.9603, allocations: 0.5216 MB / 1.19 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.9607, allocations: 410.7 kB / 1.191 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.961, allocations: 143.6 kB / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.9614, allocations: 195.3 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.9616, allocations: 151.3 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.9616, allocations: 20 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.9624, allocations: 450.8 kB / 1.192 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.9625, allocations: 67.81 kB / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.9626, allocations: 103.5 kB / 1.192 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.9633, allocations: 442.7 kB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9633, allocations: 0 / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9633, allocations: 0 / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9633, allocations: 0 / 1.192 GB, free: 14.74 MB / 0.9512 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.0006474/0.964, allocations: 0.5302 MB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.964, allocations: 8.031 kB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.9643, allocations: 39.7 kB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.9646, allocations: 250.6 kB / 1.193 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.9647, allocations: 135.4 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.9648, allocations: 24 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.9652, allocations: 302.7 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9652, allocations: 0 / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.9653, allocations: 12 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.9653, allocations: 4 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.9656, allocations: 160.6 kB / 1.194 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.9669, allocations: 1.575 MB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.967, allocations: 177.1 kB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.967, allocations: 80.14 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.9671, allocations: 75.28 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.9671, allocations: 105.8 kB / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.9671, allocations: 0 / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.9672, allocations: 61.28 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.9673, allocations: 130.7 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.9677, allocations: 310.5 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.9677, allocations: 25.7 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.9678, allocations: 191.2 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-06/0.9678, allocations: 3.984 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.9679, allocations: 45.58 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9681, allocations: 330.8 kB / 1.197 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.9681, allocations: 43.97 kB / 1.197 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.9683, allocations: 154.5 kB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.9686, allocations: 196.8 kB / 1.197 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9686, allocations: 7.938 kB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003987/0.969, allocations: 217 kB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.969, allocations: 7.938 kB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.969, allocations: 12.62 kB / 1.197 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.969, allocations: 4 kB / 1.197 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.9692, allocations: 39.92 kB / 1.197 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9692, allocations: 11.98 kB / 1.197 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.9694, allocations: 31.59 kB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.9694, allocations: 12 kB / 1.197 GB, free: 9.043 MB / 0.9512 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.000153/0.9696, allocations: 225.6 kB / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.9696, allocations: 124.7 kB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.9697, allocations: 125.8 kB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-05/0.9698, allocations: 188.3 kB / 1.198 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.078e-05/0.9699, allocations: 180.2 kB / 1.198 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.227e-05/0.9699, allocations: 176.3 kB / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.9703, allocations: 485.1 kB / 1.199 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/0.9703, allocations: 105 kB / 1.199 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.9704, allocations: 109 kB / 1.199 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.279e-05/0.9704, allocations: 184.1 kB / 1.199 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.9705, allocations: 176.3 kB / 1.199 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-05/0.9706, allocations: 184.2 kB / 1.199 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.458e-05/0.9706, allocations: 180.3 kB / 1.2 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.9708, allocations: 323.6 kB / 1.2 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.9709, allocations: 205.8 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.971, allocations: 188.1 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.9711, allocations: 101.3 kB / 1.2 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.9712, allocations: 180.2 kB / 1.201 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.9712, allocations: 121 kB / 1.201 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002212/0.9715, allocations: 213.9 kB / 1.201 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9715, allocations: 4 kB / 1.201 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003439/0.9718, allocations: 47.94 kB / 1.201 GB, free: 5.074 MB / 0.9512 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.0003679/0.9722, allocations: 206.5 kB / 1.201 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.9724, allocations: 84.7 kB / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.9724, allocations: 320 / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.9724, allocations: 7.938 kB / 1.201 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.9729, allocations: 481.5 kB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.9735, allocations: 408.7 kB / 1.202 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.9738, allocations: 0.732 MB / 1.203 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.974, allocations: 33.94 kB / 1.203 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.974, allocations: 19.44 kB / 1.203 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.974, allocations: 0 / 1.203 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of Templates: time 0.004617/0.9787, allocations: 1.819 MB / 1.205 GB, free: 1.254 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches