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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001396/0.0014, allocations: 100.1 kB / 15.88 MB, free: 8 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.001898/0.001898, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437 MB / 0.7106 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7526, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1915/0.9441, allocations: 168.1 MB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0064/0.9506, allocations: 5.98 MB / 1.187 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.9509, allocations: 7.938 kB / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.9515, allocations: 147.1 kB / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.9518, allocations: 91.48 kB / 1.187 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.9529, allocations: 486.5 kB / 1.188 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.9533, allocations: 474.5 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.9536, allocations: 139.6 kB / 1.189 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.9539, allocations: 171.3 kB / 1.189 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.9541, allocations: 151.4 kB / 1.189 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.9541, allocations: 12 kB / 1.189 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.9549, allocations: 0.5143 MB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.955, allocations: 63.8 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.9551, allocations: 107.5 kB / 1.19 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.9555, allocations: 319.3 kB / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9556, allocations: 0 / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9556, allocations: 0 / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.9556, allocations: 0 / 1.19 GB, free: 1.465 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.0005874/0.9562, allocations: 0.5224 MB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9562, allocations: 15.98 kB / 1.19 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.9565, allocations: 39.8 kB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.9568, allocations: 256 kB / 1.191 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.9569, allocations: 135.4 kB / 1.191 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.957, allocations: 20 kB / 1.191 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.9574, allocations: 298.8 kB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9574, allocations: 3.938 kB / 1.191 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.9575, allocations: 8 kB / 1.191 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.9575, allocations: 4 kB / 1.191 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.9578, allocations: 160.6 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.9591, allocations: 1.583 MB / 1.193 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.9592, allocations: 173.1 kB / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.9592, allocations: 84.08 kB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.9592, allocations: 75.28 kB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.9593, allocations: 113.8 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9593, allocations: 0 / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.616e-05/0.9594, allocations: 53.42 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.9594, allocations: 126.7 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.9598, allocations: 314.5 kB / 1.194 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.9598, allocations: 25.7 kB / 1.194 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.9599, allocations: 187.2 kB / 1.194 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.9599, allocations: 11.98 kB / 1.194 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.96, allocations: 45.58 kB / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9601, allocations: 334.8 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.9602, allocations: 39.97 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.9604, allocations: 159.2 kB / 1.194 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.9606, allocations: 196.9 kB / 1.195 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.9606, allocations: 7.938 kB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003955/0.961, allocations: 213.5 kB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.961, allocations: 11.94 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9611, allocations: 4 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9611, allocations: 8 kB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.9612, allocations: 35.92 kB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.9613, allocations: 15.92 kB / 1.195 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.9614, allocations: 31.59 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.9615, allocations: 12 kB / 1.195 GB, free: 11.76 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.0001336/0.9616, allocations: 225.6 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.9617, allocations: 124.7 kB / 1.195 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.9618, allocations: 117.8 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.9618, allocations: 184.2 kB / 1.196 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/0.9619, allocations: 176.3 kB / 1.196 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-05/0.9619, allocations: 180.2 kB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.9622, allocations: 485.1 kB / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.9623, allocations: 101 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.9623, allocations: 112.9 kB / 1.197 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.9624, allocations: 184.2 kB / 1.197 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.9624, allocations: 180.2 kB / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-05/0.9625, allocations: 180.3 kB / 1.197 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/0.9626, allocations: 184.2 kB / 1.197 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.9627, allocations: 319.5 kB / 1.198 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.9628, allocations: 205.8 kB / 1.198 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.9629, allocations: 184.2 kB / 1.198 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.963, allocations: 112.9 kB / 1.198 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.9631, allocations: 180.2 kB / 1.198 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.9631, allocations: 105 kB / 1.198 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002201/0.9634, allocations: 217.9 kB / 1.199 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9634, allocations: 3.938 kB / 1.199 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003544/0.9637, allocations: 51.94 kB / 1.199 GB, free: 7.805 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.0003174/0.964, allocations: 210.4 kB / 1.199 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.9642, allocations: 84.03 kB / 1.199 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9643, allocations: 0 / 1.199 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.9643, allocations: 7.922 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.9648, allocations: 0.5435 MB / 1.199 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.9654, allocations: 477.2 kB / 1.2 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.9657, allocations: 0.7398 MB / 1.201 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.9658, allocations: 19.44 kB / 1.201 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.9658, allocations: 0 / 1.201 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of Templates: time 0.005516/0.9713, allocations: 2.824 MB / 1.203 GB, free: 2.852 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/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