Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002922/0.002922, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.709/1.709, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.782/3.782, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 67.06 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6048, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.2264/0.8312, allocations: 130.7 MB / 1.492 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006535/0.8378, allocations: 4.345 MB / 1.496 GB, free: 5.941 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.8382, allocations: 11.94 kB / 1.496 GB, free: 5.93 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.8389, allocations: 178.8 kB / 1.496 GB, free: 5.754 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.8393, allocations: 79.5 kB / 1.496 GB, free: 5.676 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.8395, allocations: 71.86 kB / 1.496 GB, free: 5.605 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.84, allocations: 286.9 kB / 1.496 GB, free: 5.324 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.8403, allocations: 75.17 kB / 1.496 GB, free: 5.25 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.8406, allocations: 119.5 kB / 1.497 GB, free: 5.133 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.8408, allocations: 131.4 kB / 1.497 GB, free: 5.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.8408, allocations: 12 kB / 1.497 GB, free: 4.992 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.508e-05/0.8409, allocations: 12 kB / 1.497 GB, free: 4.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.8409, allocations: 27.86 kB / 1.497 GB, free: 4.953 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.841, allocations: 59.69 kB / 1.497 GB, free: 4.895 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.8413, allocations: 159.2 kB / 1.497 GB, free: 4.738 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.8413, allocations: 4 kB / 1.497 GB, free: 4.734 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8413, allocations: 0 / 1.497 GB, free: 4.734 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8413, allocations: 0 / 1.497 GB, free: 4.734 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006188/0.8419, allocations: 377.5 kB / 1.497 GB, free: 4.336 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.842, allocations: 11.97 kB / 1.497 GB, free: 4.324 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.842, allocations: 20.8 kB / 1.497 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.8425, allocations: 188.1 kB / 1.498 GB, free: 4.098 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.8425, allocations: 12.38 kB / 1.498 GB, free: 4.086 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.8426, allocations: 19.94 kB / 1.498 GB, free: 4.066 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.8429, allocations: 204.5 kB / 1.498 GB, free: 3.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.843, allocations: 3.938 kB / 1.498 GB, free: 3.816 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.843, allocations: 8 kB / 1.498 GB, free: 3.809 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.843, allocations: 4 kB / 1.498 GB, free: 3.805 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.8432, allocations: 75.78 kB / 1.498 GB, free: 3.73 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.8446, allocations: 1.471 MB / 1.499 GB, free: 2.184 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.8448, allocations: 165.1 kB / 1.499 GB, free: 2.012 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.8448, allocations: 88.08 kB / 1.499 GB, free: 1.922 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.8449, allocations: 79.22 kB / 1.5 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.125e-05/0.845, allocations: 109.8 kB / 1.5 GB, free: 1.727 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.845, allocations: 0 / 1.5 GB, free: 1.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.614e-05/0.8451, allocations: 33.66 kB / 1.5 GB, free: 1.688 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8452, allocations: 130.7 kB / 1.5 GB, free: 1.547 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.8454, allocations: 167.2 kB / 1.5 GB, free: 1.371 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.8454, allocations: 25.7 kB / 1.5 GB, free: 1.34 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.8455, allocations: 167.3 kB / 1.5 GB, free: 1.172 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.8455, allocations: 0 / 1.5 GB, free: 1.172 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.8456, allocations: 25.67 kB / 1.5 GB, free: 1.141 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.8458, allocations: 322.8 kB / 1.501 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.8458, allocations: 15.94 kB / 1.501 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.8459, allocations: 46.02 kB / 1.501 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.846, allocations: 61.94 kB / 1.501 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.846, allocations: 0 / 1.501 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002047/0.8462, allocations: 89.38 kB / 1.501 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8462, allocations: 4 kB / 1.501 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8462, allocations: 4 kB / 1.501 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.8463, allocations: 0 / 1.501 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.8463, allocations: 20.2 kB / 1.501 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.8463, allocations: 4 kB / 1.501 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.8464, allocations: 0 / 1.501 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.8464, allocations: 11.94 kB / 1.501 GB, free: 0.5156 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000191/0.8466, allocations: 197.1 kB / 1.501 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.8467, allocations: 124.8 kB / 1.501 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.8468, allocations: 113.5 kB / 1.501 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001384/0.8469, allocations: 184.2 kB / 1.501 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001297/0.847, allocations: 180.2 kB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-05/0.8471, allocations: 184.2 kB / 1.502 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.8475, allocations: 400.8 kB / 1.502 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.181e-05/0.8476, allocations: 108.9 kB / 1.502 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.8476, allocations: 101 kB / 1.502 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.8478, allocations: 184.2 kB / 1.502 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8479, allocations: 180.2 kB / 1.503 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001204/0.848, allocations: 176.5 kB / 1.503 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000133/0.8481, allocations: 184.2 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.8484, allocations: 315.8 kB / 1.503 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.8485, allocations: 116.8 kB / 1.503 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.8487, allocations: 180.3 kB / 1.504 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8488, allocations: 112.9 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.8489, allocations: 184.3 kB / 1.504 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.8489, allocations: 101 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000118/0.849, allocations: 116 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.1e-08/0.849, allocations: 0 / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002975/0.8493, allocations: 31.83 kB / 1.504 GB, free: 12.93 MB / 1.201 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.0001911/0.8495, allocations: 174.5 kB / 1.504 GB, free: 12.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.8497, allocations: 23.92 kB / 1.504 GB, free: 12.72 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8497, allocations: 448 / 1.504 GB, free: 12.72 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.8497, allocations: 4 kB / 1.504 GB, free: 12.72 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.8502, allocations: 459.7 kB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.8508, allocations: 306.6 kB / 1.505 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.8509, allocations: 103.5 kB / 1.505 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.851, allocations: 8.438 kB / 1.505 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.851, allocations: 11.44 kB / 1.505 GB, free: 11.8 MB / 1.201 GB Notification: Performance of SimCode: time 2.8e-07/0.851, allocations: 0 / 1.505 GB, free: 11.8 MB / 1.201 GB Notification: Performance of Templates: time 0.003385/0.8544, allocations: 0.5013 MB / 1.506 GB, free: 11.3 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.241874704137444]