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.001303/0.001303, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001292/0.001292, allocations: 187 kB / 17.34 MB, free: 5.766 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.654/2.654, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.968/0.9697, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2087/1.178, allocations: 170.3 MB / 1.334 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008164/1.187, allocations: 6.006 MB / 1.339 GB, free: 2.852 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/1.187, allocations: 7.938 kB / 1.339 GB, free: 2.844 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/1.188, allocations: 190.7 kB / 1.34 GB, free: 2.656 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005894/1.189, allocations: 91.42 kB / 1.34 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/1.19, allocations: 0.5255 MB / 1.34 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/1.191, allocations: 422.5 kB / 1.341 GB, free: 1.625 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/1.192, allocations: 143.6 kB / 1.341 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/1.192, allocations: 191.3 kB / 1.341 GB, free: 1.293 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/1.192, allocations: 147.4 kB / 1.341 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/1.192, allocations: 16 kB / 1.341 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000957/1.193, allocations: 470.8 kB / 1.342 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/1.194, allocations: 67.81 kB / 1.342 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/1.194, allocations: 107.4 kB / 1.342 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008638/1.195, allocations: 460.4 kB / 1.342 GB, free: 52 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.195, allocations: 0 / 1.342 GB, free: 52 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/1.195, allocations: 0 / 1.342 GB, free: 52 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.195, allocations: 0 / 1.342 GB, free: 52 kB / 1.061 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.0008626/1.195, allocations: 0.5107 MB / 1.343 GB, free: 15.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.196, allocations: 12.62 kB / 1.343 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/1.196, allocations: 39.7 kB / 1.343 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/1.196, allocations: 270.6 kB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/1.197, allocations: 135.3 kB / 1.343 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.197, allocations: 24 kB / 1.343 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/1.197, allocations: 290.8 kB / 1.343 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.197, allocations: 3.938 kB / 1.343 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/1.197, allocations: 15.94 kB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.197, allocations: 7.984 kB / 1.343 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/1.198, allocations: 156.6 kB / 1.344 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.199, allocations: 1.579 MB / 1.345 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/1.199, allocations: 177.1 kB / 1.345 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/1.199, allocations: 80.14 kB / 1.345 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/1.199, allocations: 75.28 kB / 1.345 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.199, allocations: 117.8 kB / 1.346 GB, free: 12.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/1.199, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001146/1.199, allocations: 45.45 kB / 1.346 GB, free: 12.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.2, allocations: 130.7 kB / 1.346 GB, free: 12.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/1.2, allocations: 314.5 kB / 1.346 GB, free: 11.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.2, allocations: 29.64 kB / 1.346 GB, free: 11.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.2, allocations: 187.2 kB / 1.346 GB, free: 11.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/1.2, allocations: 4 kB / 1.346 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/1.2, allocations: 41.7 kB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.2, allocations: 330.8 kB / 1.347 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/1.2, allocations: 35.97 kB / 1.347 GB, free: 11.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/1.201, allocations: 161.1 kB / 1.347 GB, free: 10.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/1.201, allocations: 196.8 kB / 1.347 GB, free: 10.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.201, allocations: 4 kB / 1.347 GB, free: 10.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004384/1.201, allocations: 217.6 kB / 1.347 GB, free: 10.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.201, allocations: 10.59 kB / 1.347 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.201, allocations: 8.031 kB / 1.347 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.201, allocations: 11.98 kB / 1.347 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.202, allocations: 35.92 kB / 1.347 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.202, allocations: 11.94 kB / 1.347 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.202, allocations: 27.69 kB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/1.202, allocations: 12 kB / 1.347 GB, free: 10.36 MB / 1.076 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.0001625/1.202, allocations: 217 kB / 1.348 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.202, allocations: 136.7 kB / 1.348 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/1.202, allocations: 121.8 kB / 1.348 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/1.202, allocations: 180.3 kB / 1.348 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-05/1.202, allocations: 180.3 kB / 1.348 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/1.202, allocations: 184.2 kB / 1.348 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/1.203, allocations: 481.1 kB / 1.349 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-05/1.203, allocations: 108.9 kB / 1.349 GB, free: 8.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/1.203, allocations: 105 kB / 1.349 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.848e-05/1.203, allocations: 184.2 kB / 1.349 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/1.203, allocations: 180.2 kB / 1.349 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.408e-05/1.203, allocations: 176.3 kB / 1.349 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.666e-05/1.203, allocations: 196.2 kB / 1.35 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/1.203, allocations: 323.5 kB / 1.35 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.204, allocations: 202.1 kB / 1.35 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/1.204, allocations: 184.2 kB / 1.35 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.204, allocations: 112.9 kB / 1.35 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/1.204, allocations: 184.3 kB / 1.351 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/1.204, allocations: 108.9 kB / 1.351 GB, free: 6.652 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002385/1.204, allocations: 217.9 kB / 1.351 GB, free: 6.441 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.204, allocations: 0 / 1.351 GB, free: 6.441 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003802/1.205, allocations: 51.84 kB / 1.351 GB, free: 6.391 MB / 1.076 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.0003182/1.205, allocations: 222.4 kB / 1.351 GB, free: 6.164 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002587/1.205, allocations: 84.83 kB / 1.351 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.205, allocations: 0 / 1.351 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/1.205, allocations: 0 / 1.351 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/1.206, allocations: 476.2 kB / 1.352 GB, free: 5.609 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/1.206, allocations: 426.8 kB / 1.352 GB, free: 5.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/1.207, allocations: 0.7359 MB / 1.353 GB, free: 4.398 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/1.207, allocations: 23.42 kB / 1.353 GB, free: 4.375 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/1.207, allocations: 0 / 1.353 GB, free: 4.375 MB / 1.076 GB Notification: Performance of Templates: time 0.005831/1.213, allocations: 2.839 MB / 1.356 GB, free: 1.535 MB / 1.076 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/jenkins1/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