Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001446/0.001446, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00164/0.00164, allocations: 216.5 kB / 22.25 MB, free: 5.125 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.419/3.419, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [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.0022/0.0022, allocations: 78.23 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4696, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2514/0.7211, allocations: 174.1 MB / 1.496 GB, free: 2.727 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009086/0.7302, allocations: 6.107 MB / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/0.7306, allocations: 11.94 kB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.7316, allocations: 194.7 kB / 1.503 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.732, allocations: 99.36 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.7337, allocations: 0.5411 MB / 1.503 GB, free: 11.76 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.7343, allocations: 406.8 kB / 1.504 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.7346, allocations: 100.2 kB / 1.504 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.7349, allocations: 195.2 kB / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.7352, allocations: 159.3 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.7353, allocations: 24 kB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.7363, allocations: 0.4948 MB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.7364, allocations: 71.75 kB / 1.505 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.7366, allocations: 107.5 kB / 1.505 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008767/0.7375, allocations: 482.2 kB / 1.505 GB, free: 9.738 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7375, allocations: 0 / 1.505 GB, free: 9.738 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7375, allocations: 0 / 1.505 GB, free: 9.738 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.7375, allocations: 4 kB / 1.505 GB, free: 9.734 MB / 1.201 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.0007478/0.7382, allocations: 454.5 kB / 1.506 GB, free: 9.262 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7383, allocations: 12.03 kB / 1.506 GB, free: 9.25 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.7386, allocations: 43.84 kB / 1.506 GB, free: 9.207 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.7391, allocations: 204.8 kB / 1.506 GB, free: 8.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.7393, allocations: 250 kB / 1.506 GB, free: 8.684 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7394, allocations: 20 kB / 1.506 GB, free: 8.664 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.7399, allocations: 297.9 kB / 1.506 GB, free: 8.34 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7399, allocations: 0 / 1.506 GB, free: 8.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.7399, allocations: 11.98 kB / 1.506 GB, free: 8.328 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.74, allocations: 4 kB / 1.506 GB, free: 8.324 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.7403, allocations: 160.6 kB / 1.506 GB, free: 8.168 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.7421, allocations: 1.545 MB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.7422, allocations: 177.1 kB / 1.508 GB, free: 6.359 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.7422, allocations: 80.14 kB / 1.508 GB, free: 6.277 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.7423, allocations: 75.28 kB / 1.508 GB, free: 6.203 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.7424, allocations: 105.8 kB / 1.508 GB, free: 6.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7424, allocations: 0 / 1.508 GB, free: 6.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.7425, allocations: 57.44 kB / 1.508 GB, free: 6.027 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7426, allocations: 130.7 kB / 1.509 GB, free: 5.887 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.7431, allocations: 309.8 kB / 1.509 GB, free: 5.57 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.7431, allocations: 25.7 kB / 1.509 GB, free: 5.539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.7433, allocations: 199.6 kB / 1.509 GB, free: 5.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.7433, allocations: 0 / 1.509 GB, free: 5.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.7434, allocations: 45.66 kB / 1.509 GB, free: 5.289 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7435, allocations: 334.8 kB / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.7436, allocations: 39.97 kB / 1.51 GB, free: 4.914 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.7438, allocations: 158.5 kB / 1.51 GB, free: 4.699 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.7441, allocations: 192.9 kB / 1.51 GB, free: 4.449 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.7441, allocations: 4 kB / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004638/0.7446, allocations: 221 kB / 1.51 GB, free: 4.223 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.7446, allocations: 9.5 kB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7446, allocations: 4.625 kB / 1.51 GB, free: 4.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.7447, allocations: 12 kB / 1.51 GB, free: 4.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7448, allocations: 35.92 kB / 1.51 GB, free: 4.164 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.7449, allocations: 15.92 kB / 1.51 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.745, allocations: 31.73 kB / 1.51 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.7451, allocations: 19.98 kB / 1.51 GB, free: 4.098 MB / 1.201 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.0002127/0.7453, allocations: 217.5 kB / 1.51 GB, free: 3.875 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.7454, allocations: 136.7 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.7455, allocations: 125.6 kB / 1.511 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001737/0.7457, allocations: 188.3 kB / 1.511 GB, free: 3.414 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.884e-05/0.7458, allocations: 180.2 kB / 1.511 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000157/0.746, allocations: 176.3 kB / 1.511 GB, free: 3.051 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.7464, allocations: 456.1 kB / 1.512 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-05/0.7465, allocations: 105 kB / 1.512 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.7465, allocations: 105 kB / 1.512 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.7467, allocations: 188.1 kB / 1.512 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.7468, allocations: 176.3 kB / 1.512 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001141/0.7469, allocations: 184.2 kB / 1.512 GB, free: 1.777 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001614/0.747, allocations: 180.3 kB / 1.512 GB, free: 1.594 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.7474, allocations: 327.6 kB / 1.513 GB, free: 1.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.7475, allocations: 124.9 kB / 1.513 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.7476, allocations: 188.1 kB / 1.513 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7477, allocations: 101 kB / 1.513 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.7478, allocations: 180.3 kB / 1.513 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.7479, allocations: 112.9 kB / 1.513 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000262/0.7482, allocations: 221.2 kB / 1.514 GB, free: 316 kB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7482, allocations: 0 / 1.514 GB, free: 316 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004399/0.7486, allocations: 55.89 kB / 1.514 GB, free: 260 kB / 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.0002845/0.7489, allocations: 194.5 kB / 1.514 GB, free: 52 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.7491, allocations: 85.03 kB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7491, allocations: 0 / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.7491, allocations: 0 / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.7497, allocations: 488 kB / 1.514 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.7504, allocations: 396.9 kB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.7509, allocations: 0.7398 MB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.751, allocations: 37.92 kB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.751, allocations: 15.44 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of SimCode: time 3e-07/0.7511, allocations: 3.938 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of Templates: time 0.006478/0.7575, allocations: 1.948 MB / 1.518 GB, free: 12.31 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 10.475744917988777]