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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00147/0.00147, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001706/0.001706, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8182, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2215/1.04, allocations: 168.1 MB / 1.113 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006758/1.047, allocations: 5.933 MB / 1.119 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/1.047, allocations: 11.88 kB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/1.048, allocations: 163.1 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/1.048, allocations: 79.48 kB / 1.119 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/1.05, allocations: 498.5 kB / 1.12 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/1.05, allocations: 410.6 kB / 1.12 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/1.05, allocations: 135.6 kB / 1.12 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/1.051, allocations: 191.3 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/1.051, allocations: 151.4 kB / 1.121 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/1.051, allocations: 20 kB / 1.121 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/1.052, allocations: 470.7 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/1.052, allocations: 71.81 kB / 1.121 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/1.052, allocations: 111.4 kB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006335/1.053, allocations: 474.6 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.053, allocations: 0 / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/1.053, allocations: 0 / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.053, allocations: 0 / 1.122 GB, free: 0.7266 MB / 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.0006373/1.053, allocations: 0.5107 MB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.053, allocations: 12.03 kB / 1.122 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/1.054, allocations: 43.7 kB / 1.122 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.054, allocations: 256.8 kB / 1.122 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/1.054, allocations: 131.4 kB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/1.054, allocations: 23.94 kB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/1.055, allocations: 298.7 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.055, allocations: 4 kB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.055, allocations: 8 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/1.055, allocations: 8 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/1.055, allocations: 160.6 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.056, allocations: 1.587 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/1.056, allocations: 165.1 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/1.056, allocations: 84.14 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/1.056, allocations: 79.28 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.057, allocations: 109.8 kB / 1.125 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.057, allocations: 0 / 1.125 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.379e-05/1.057, allocations: 53.3 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.057, allocations: 130.7 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/1.057, allocations: 306.6 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/1.057, allocations: 29.7 kB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.057, allocations: 187.2 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/1.057, allocations: 8 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/1.057, allocations: 41.61 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.057, allocations: 334.8 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/1.057, allocations: 35.97 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/1.058, allocations: 167.2 kB / 1.126 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/1.058, allocations: 200.9 kB / 1.126 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.058, allocations: 0 / 1.126 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004214/1.058, allocations: 221.4 kB / 1.127 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.058, allocations: 11.94 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.058, allocations: 7.984 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.058, allocations: 8 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.059, allocations: 35.92 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.059, allocations: 11.98 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.059, allocations: 31.59 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.059, allocations: 19.88 kB / 1.127 GB, free: 11.03 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.0001742/1.059, allocations: 217.2 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.059, allocations: 128.7 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/1.059, allocations: 121.8 kB / 1.127 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/1.059, allocations: 180.3 kB / 1.127 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.528e-05/1.059, allocations: 184.2 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-05/1.059, allocations: 176.3 kB / 1.128 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/1.06, allocations: 485.1 kB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/1.06, allocations: 101 kB / 1.128 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/1.06, allocations: 105 kB / 1.128 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/1.06, allocations: 192.1 kB / 1.129 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/1.06, allocations: 176.5 kB / 1.129 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.146e-05/1.06, allocations: 184.2 kB / 1.129 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-05/1.06, allocations: 180.3 kB / 1.129 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/1.06, allocations: 323.6 kB / 1.129 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.06, allocations: 205.8 kB / 1.13 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/1.061, allocations: 196.1 kB / 1.13 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.061, allocations: 101 kB / 1.13 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.061, allocations: 176.3 kB / 1.13 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/1.061, allocations: 108.9 kB / 1.13 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002602/1.061, allocations: 221.9 kB / 1.13 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.91e-07/1.061, allocations: 0 / 1.13 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004373/1.062, allocations: 47.94 kB / 1.13 GB, free: 7.086 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.0005173/1.062, allocations: 210.5 kB / 1.131 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002202/1.062, allocations: 79.78 kB / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.062, allocations: 0 / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.062, allocations: 0 / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/1.063, allocations: 489.4 kB / 1.131 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/1.063, allocations: 456.9 kB / 1.132 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/1.064, allocations: 0.7359 MB / 1.132 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001445/1.064, allocations: 37.94 kB / 1.132 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/1.064, allocations: 15.44 kB / 1.132 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/1.064, allocations: 0 / 1.132 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.004714/1.069, allocations: 1.815 MB / 1.134 GB, free: 3.215 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/jenkins/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