Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006713/0.006713, allocations: 97.75 kB / 15.73 MB, free: 6 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.001295/0.001295, allocations: 186.1 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 469.8 MB / 0.7425 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3675, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 1.085/1.453, allocations: 170.8 MB / 1.387 GB, free: 96 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007517/1.46, allocations: 6.008 MB / 1.393 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/1.461, allocations: 6.781 kB / 1.393 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006936/1.461, allocations: 189.7 kB / 1.393 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0004613/1.462, allocations: 98.38 kB / 1.394 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/1.463, allocations: 0.5246 MB / 1.394 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006332/1.464, allocations: 413.9 kB / 1.394 GB, free: 10.36 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/1.464, allocations: 104.7 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/1.465, allocations: 190.6 kB / 1.395 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/1.465, allocations: 149.8 kB / 1.395 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/1.465, allocations: 20.41 kB / 1.395 GB, free: 10.08 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/1.466, allocations: 465.2 kB / 1.395 GB, free: 9.824 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/1.466, allocations: 68.97 kB / 1.395 GB, free: 9.777 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/1.466, allocations: 104.2 kB / 1.395 GB, free: 9.707 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009381/1.467, allocations: 450.1 kB / 1.396 GB, free: 9.438 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.467, allocations: 0.9062 kB / 1.396 GB, free: 9.438 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.983e-06/1.467, allocations: 0 / 1.396 GB, free: 9.438 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.467, allocations: 0 / 1.396 GB, free: 9.438 MB / 1.092 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.0007604/1.468, allocations: 0.5352 MB / 1.396 GB, free: 8.926 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.468, allocations: 14.16 kB / 1.396 GB, free: 8.922 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/1.468, allocations: 41.34 kB / 1.396 GB, free: 8.906 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/1.469, allocations: 263.7 kB / 1.397 GB, free: 8.645 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.469, allocations: 136 kB / 1.397 GB, free: 8.5 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/1.469, allocations: 22.31 kB / 1.397 GB, free: 8.492 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/1.469, allocations: 295.3 kB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.469, allocations: 5.156 kB / 1.397 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/1.469, allocations: 6.312 kB / 1.397 GB, free: 8.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.469, allocations: 7 kB / 1.397 GB, free: 8.25 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/1.47, allocations: 158.2 kB / 1.397 GB, free: 8.176 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.471, allocations: 1.586 MB / 1.399 GB, free: 6.648 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/1.471, allocations: 174.2 kB / 1.399 GB, free: 6.469 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/1.471, allocations: 80.14 kB / 1.399 GB, free: 6.387 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/1.471, allocations: 76.47 kB / 1.399 GB, free: 6.312 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/1.471, allocations: 113.7 kB / 1.399 GB, free: 6.191 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/1.471, allocations: 0.9688 kB / 1.399 GB, free: 6.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/1.472, allocations: 50.36 kB / 1.399 GB, free: 6.145 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.472, allocations: 126.7 kB / 1.399 GB, free: 6.008 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/1.472, allocations: 311 kB / 1.4 GB, free: 5.801 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/1.472, allocations: 26.83 kB / 1.4 GB, free: 5.77 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.472, allocations: 194.2 kB / 1.4 GB, free: 5.59 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/1.472, allocations: 1.25 kB / 1.4 GB, free: 5.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/1.472, allocations: 49.44 kB / 1.4 GB, free: 5.551 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.472, allocations: 331.2 kB / 1.4 GB, free: 5.223 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/1.472, allocations: 39.7 kB / 1.4 GB, free: 5.203 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.473, allocations: 167.9 kB / 1.401 GB, free: 5.008 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/1.473, allocations: 197.4 kB / 1.401 GB, free: 4.793 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.473, allocations: 2.719 kB / 1.401 GB, free: 4.793 MB / 1.092 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004881/1.473, allocations: 216.1 kB / 1.401 GB, free: 4.668 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.473, allocations: 6.719 kB / 1.401 GB, free: 4.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.473, allocations: 9.125 kB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.473, allocations: 9.922 kB / 1.401 GB, free: 4.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/1.474, allocations: 41.36 kB / 1.401 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.474, allocations: 6.062 kB / 1.401 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/1.474, allocations: 34.52 kB / 1.401 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/1.474, allocations: 9.656 kB / 1.401 GB, free: 4.625 MB / 1.092 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.0001521/1.474, allocations: 222.9 kB / 1.401 GB, free: 4.41 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/1.474, allocations: 126.2 kB / 1.401 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/1.474, allocations: 125.4 kB / 1.402 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.678e-05/1.474, allocations: 185.5 kB / 1.402 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-05/1.474, allocations: 180.2 kB / 1.402 GB, free: 3.797 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/1.474, allocations: 177.7 kB / 1.402 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/1.475, allocations: 485.2 kB / 1.403 GB, free: 3.117 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/1.475, allocations: 102.9 kB / 1.403 GB, free: 3.012 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/1.475, allocations: 109.1 kB / 1.403 GB, free: 2.898 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.423e-05/1.475, allocations: 181.5 kB / 1.403 GB, free: 2.715 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/1.475, allocations: 185.4 kB / 1.403 GB, free: 2.527 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/1.475, allocations: 182.2 kB / 1.403 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.2e-05/1.475, allocations: 177.3 kB / 1.403 GB, free: 2.164 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/1.475, allocations: 322.9 kB / 1.404 GB, free: 1.836 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.475, allocations: 205.6 kB / 1.404 GB, free: 1.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/1.475, allocations: 193.3 kB / 1.404 GB, free: 1.422 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.476, allocations: 106.3 kB / 1.404 GB, free: 1.312 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/1.476, allocations: 181.4 kB / 1.404 GB, free: 1.129 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/1.476, allocations: 107.5 kB / 1.404 GB, free: 1.02 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002525/1.476, allocations: 216.6 kB / 1.405 GB, free: 0.875 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.476, allocations: 3.938 kB / 1.405 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003781/1.476, allocations: 54.83 kB / 1.405 GB, free: 0.8594 MB / 1.092 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.0002631/1.477, allocations: 213.5 kB / 1.405 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000202/1.477, allocations: 77.91 kB / 1.405 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.477, allocations: 1.938 kB / 1.405 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.477, allocations: 4 kB / 1.405 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/1.477, allocations: 484.6 kB / 1.405 GB, free: 176 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/1.478, allocations: 399.2 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/1.478, allocations: 0.7386 MB / 1.407 GB, free: 15.13 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001246/1.478, allocations: 35.38 kB / 1.407 GB, free: 15.11 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/1.478, allocations: 16.75 kB / 1.407 GB, free: 15.11 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.478, allocations: 1.156 kB / 1.407 GB, free: 15.11 MB / 1.107 GB Notification: Performance of Templates: time 0.005464/1.484, allocations: 1.878 MB / 1.408 GB, free: 14.16 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches