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.001421/0.001421, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001575/0.001575, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.991/2.991, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002178/0.002178, allocations: 67.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2446/1.453, allocations: 150.5 MB / 1.301 GB, free: 11.9 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008736/1.462, allocations: 5.521 MB / 1.306 GB, free: 7.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/1.462, allocations: 10.5 kB / 1.306 GB, free: 7.883 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007731/1.463, allocations: 189.3 kB / 1.307 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/1.463, allocations: 90.25 kB / 1.307 GB, free: 7.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/1.465, allocations: 0.5259 MB / 1.307 GB, free: 7.254 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006456/1.466, allocations: 408.3 kB / 1.307 GB, free: 7.02 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/1.466, allocations: 97.56 kB / 1.308 GB, free: 6.949 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/1.466, allocations: 201.7 kB / 1.308 GB, free: 6.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/1.467, allocations: 144 kB / 1.308 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/1.467, allocations: 16.75 kB / 1.308 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/1.468, allocations: 379.6 kB / 1.308 GB, free: 6.539 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/1.468, allocations: 71.8 kB / 1.308 GB, free: 6.488 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/1.468, allocations: 85.78 kB / 1.308 GB, free: 6.438 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007524/1.469, allocations: 448.1 kB / 1.309 GB, free: 6.176 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.469, allocations: 0 / 1.309 GB, free: 6.176 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.705e-06/1.469, allocations: 1.281 kB / 1.309 GB, free: 6.176 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.469, allocations: 4 kB / 1.309 GB, free: 6.172 MB / 1.154 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.0007497/1.469, allocations: 463.9 kB / 1.309 GB, free: 5.762 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.469, allocations: 9.406 kB / 1.309 GB, free: 5.762 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/1.47, allocations: 50.95 kB / 1.309 GB, free: 5.738 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/1.47, allocations: 203 kB / 1.31 GB, free: 5.547 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/1.471, allocations: 239.7 kB / 1.31 GB, free: 5.281 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/1.471, allocations: 18.72 kB / 1.31 GB, free: 5.277 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/1.471, allocations: 296.8 kB / 1.31 GB, free: 5.043 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.471, allocations: 1.375 kB / 1.31 GB, free: 5.043 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/1.471, allocations: 6.75 kB / 1.31 GB, free: 5.039 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/1.471, allocations: 6.062 kB / 1.31 GB, free: 5.039 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/1.472, allocations: 163.1 kB / 1.31 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.473, allocations: 1.45 MB / 1.312 GB, free: 3.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/1.473, allocations: 170.4 kB / 1.312 GB, free: 3.395 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/1.473, allocations: 85.23 kB / 1.312 GB, free: 3.309 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.473, allocations: 79.22 kB / 1.312 GB, free: 3.23 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/1.473, allocations: 111.1 kB / 1.312 GB, free: 3.113 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.473, allocations: 1.312 kB / 1.312 GB, free: 3.113 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.76e-05/1.473, allocations: 43.33 kB / 1.312 GB, free: 3.07 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/1.473, allocations: 128.1 kB / 1.312 GB, free: 2.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/1.474, allocations: 238.3 kB / 1.313 GB, free: 2.754 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/1.474, allocations: 25.7 kB / 1.313 GB, free: 2.723 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.474, allocations: 200.2 kB / 1.313 GB, free: 2.539 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/1.474, allocations: 5.094 kB / 1.313 GB, free: 2.535 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/1.474, allocations: 48.81 kB / 1.313 GB, free: 2.496 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.474, allocations: 326.2 kB / 1.313 GB, free: 2.172 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/1.474, allocations: 40.59 kB / 1.313 GB, free: 2.152 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/1.475, allocations: 164.7 kB / 1.313 GB, free: 1.965 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/1.475, allocations: 189 kB / 1.313 GB, free: 1.762 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/1.475, allocations: 6.281 kB / 1.313 GB, free: 1.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000504/1.475, allocations: 213.7 kB / 1.314 GB, free: 1.633 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.475, allocations: 11.34 kB / 1.314 GB, free: 1.629 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.475, allocations: 4.594 kB / 1.314 GB, free: 1.629 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.476, allocations: 10.16 kB / 1.314 GB, free: 1.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/1.476, allocations: 36.83 kB / 1.314 GB, free: 1.617 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/1.476, allocations: 13.73 kB / 1.314 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.476, allocations: 28.78 kB / 1.314 GB, free: 1.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.476, allocations: 9.969 kB / 1.314 GB, free: 1.59 MB / 1.154 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.0001806/1.476, allocations: 219.2 kB / 1.314 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.476, allocations: 111.3 kB / 1.314 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/1.476, allocations: 122 kB / 1.314 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.504e-05/1.476, allocations: 185.5 kB / 1.314 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.278e-05/1.476, allocations: 178.8 kB / 1.315 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.476e-05/1.477, allocations: 185.4 kB / 1.315 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/1.477, allocations: 408.4 kB / 1.315 GB, free: 184 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.458e-05/1.477, allocations: 102.3 kB / 1.315 GB, free: 76 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/1.477, allocations: 109.9 kB / 1.315 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/1.477, allocations: 185.7 kB / 1.315 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/1.477, allocations: 181.6 kB / 1.316 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.392e-05/1.477, allocations: 182.7 kB / 1.316 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.333e-05/1.477, allocations: 181.4 kB / 1.316 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/1.478, allocations: 325.2 kB / 1.316 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.478, allocations: 118.5 kB / 1.316 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.478, allocations: 182.6 kB / 1.317 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.478, allocations: 106.1 kB / 1.317 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/1.478, allocations: 181.4 kB / 1.317 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/1.478, allocations: 102.2 kB / 1.317 GB, free: 14.19 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002061/1.478, allocations: 171.2 kB / 1.317 GB, free: 14.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.478, allocations: 0 / 1.317 GB, free: 14.06 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005034/1.479, allocations: 63.66 kB / 1.317 GB, free: 14.04 MB / 1.17 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.0002994/1.479, allocations: 202.1 kB / 1.317 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002376/1.479, allocations: 78.8 kB / 1.317 GB, free: 13.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.479, allocations: 5.094 kB / 1.317 GB, free: 13.83 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/1.479, allocations: 3.938 kB / 1.317 GB, free: 13.83 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/1.48, allocations: 466.4 kB / 1.318 GB, free: 13.38 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/1.481, allocations: 391.7 kB / 1.318 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/1.481, allocations: 129.2 kB / 1.318 GB, free: 12.95 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001304/1.481, allocations: 29.06 kB / 1.318 GB, free: 12.94 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/1.481, allocations: 15.03 kB / 1.318 GB, free: 12.93 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/1.481, allocations: 0 / 1.318 GB, free: 12.93 MB / 1.17 GB Notification: Performance of Templates: time 0.00501/1.486, allocations: 1.161 MB / 1.32 GB, free: 12.32 MB / 1.17 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 -s ida -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/jenkins1/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.3051947200438]