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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001841/0.001841, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.607/2.607, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7535, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1907/0.9443, allocations: 168.1 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006839/0.9511, allocations: 5.98 MB / 1.187 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.9515, allocations: 7.938 kB / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.9523, allocations: 155 kB / 1.187 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.9527, allocations: 75.56 kB / 1.187 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.954, allocations: 490.5 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.9547, allocations: 474.5 kB / 1.188 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.955, allocations: 135.6 kB / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.9554, allocations: 171.4 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.9557, allocations: 159.3 kB / 1.188 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.9558, allocations: 12 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009981/0.9568, allocations: 0.5181 MB / 1.189 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.9569, allocations: 63.81 kB / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.9571, allocations: 95.48 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.9579, allocations: 466.6 kB / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9579, allocations: 4 kB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9579, allocations: 0 / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.958, allocations: 0 / 1.189 GB, free: 1.336 MB / 0.9356 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.0007839/0.9588, allocations: 0.5241 MB / 1.19 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9588, allocations: 8.031 kB / 1.19 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.9591, allocations: 43.78 kB / 1.19 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.9595, allocations: 252.1 kB / 1.19 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.9596, allocations: 139.4 kB / 1.19 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.9597, allocations: 20 kB / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.9602, allocations: 298.8 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9602, allocations: 0 / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.9602, allocations: 8 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.9602, allocations: 8 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.9606, allocations: 160.6 kB / 1.191 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.9621, allocations: 1.587 MB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.9622, allocations: 169.1 kB / 1.192 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.9623, allocations: 80.14 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.9623, allocations: 75.28 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.9624, allocations: 117.8 kB / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.9624, allocations: 0 / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.9625, allocations: 45.45 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.9626, allocations: 126.7 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.963, allocations: 314.5 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.963, allocations: 25.7 kB / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.9632, allocations: 187.2 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.9632, allocations: 0 / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9633, allocations: 53.56 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9635, allocations: 334.8 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.9636, allocations: 39.92 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.9638, allocations: 165.1 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.964, allocations: 196.8 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.964, allocations: 4 kB / 1.194 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004496/0.9645, allocations: 213.5 kB / 1.194 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9645, allocations: 16.03 kB / 1.194 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9645, allocations: 4 kB / 1.194 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9645, allocations: 4 kB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.9647, allocations: 39.92 kB / 1.194 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.9647, allocations: 7.984 kB / 1.194 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.9649, allocations: 35.59 kB / 1.194 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.965, allocations: 11.94 kB / 1.194 GB, free: 11.64 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.0001674/0.9651, allocations: 225.5 kB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.9653, allocations: 124.7 kB / 1.195 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.9653, allocations: 121.8 kB / 1.195 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.916e-05/0.9654, allocations: 184.2 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-05/0.9655, allocations: 176.3 kB / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.535e-05/0.9655, allocations: 180.3 kB / 1.195 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.9659, allocations: 489.1 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.966, allocations: 101 kB / 1.196 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.966, allocations: 108.9 kB / 1.196 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.97e-05/0.9661, allocations: 184.2 kB / 1.196 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.9662, allocations: 188.2 kB / 1.196 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-05/0.9662, allocations: 176.3 kB / 1.197 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.898e-05/0.9663, allocations: 180.3 kB / 1.197 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.9665, allocations: 323.5 kB / 1.197 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.9666, allocations: 213.8 kB / 1.197 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9667, allocations: 180.2 kB / 1.197 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.9669, allocations: 105 kB / 1.198 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.967, allocations: 188.2 kB / 1.198 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.967, allocations: 101 kB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002746/0.9673, allocations: 217.9 kB / 1.198 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9673, allocations: 0 / 1.198 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004037/0.9677, allocations: 55.92 kB / 1.198 GB, free: 7.68 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.000343/0.968, allocations: 206.5 kB / 1.198 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.9683, allocations: 84.59 kB / 1.198 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9683, allocations: 3.938 kB / 1.198 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.651e-06/0.9683, allocations: 7.938 kB / 1.198 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.9689, allocations: 0.5401 MB / 1.199 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.9695, allocations: 450.1 kB / 1.199 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.9699, allocations: 0.7437 MB / 1.2 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000158/0.97, allocations: 37.88 kB / 1.2 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.9701, allocations: 19.44 kB / 1.2 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9701, allocations: 0 / 1.2 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of Templates: time 0.005165/0.9753, allocations: 1.759 MB / 1.202 GB, free: 3.793 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