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.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.001424/0.001424, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00173/0.00173, allocations: 216.9 kB / 23.01 MB, free: 4.605 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002084/0.002084, allocations: 70.69 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3979, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2234/0.6213, allocations: 174.1 MB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008258/0.6295, allocations: 6.111 MB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.6299, allocations: 7.938 kB / 1.461 GB, free: 6.371 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.6307, allocations: 194.7 kB / 1.461 GB, free: 6.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.631, allocations: 91.38 kB / 1.461 GB, free: 6.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.6327, allocations: 0.5528 MB / 1.461 GB, free: 5.535 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.6333, allocations: 406.8 kB / 1.462 GB, free: 5.137 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.6336, allocations: 100.1 kB / 1.462 GB, free: 5.031 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.634, allocations: 187.3 kB / 1.462 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.6343, allocations: 163.3 kB / 1.462 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.6343, allocations: 16 kB / 1.462 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.6353, allocations: 0.5026 MB / 1.463 GB, free: 4.168 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.6354, allocations: 71.75 kB / 1.463 GB, free: 4.098 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.6356, allocations: 111.5 kB / 1.463 GB, free: 3.988 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.6363, allocations: 478.2 kB / 1.463 GB, free: 3.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6363, allocations: 3.938 kB / 1.463 GB, free: 3.516 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6363, allocations: 0 / 1.463 GB, free: 3.516 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.6363, allocations: 0 / 1.463 GB, free: 3.516 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.0007278/0.6371, allocations: 461.3 kB / 1.464 GB, free: 3.035 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6371, allocations: 8.031 kB / 1.464 GB, free: 3.027 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.6374, allocations: 43.84 kB / 1.464 GB, free: 2.984 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.6379, allocations: 200.8 kB / 1.464 GB, free: 2.762 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.6381, allocations: 246.1 kB / 1.464 GB, free: 2.473 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.6382, allocations: 20 kB / 1.464 GB, free: 2.453 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.6387, allocations: 301.9 kB / 1.465 GB, free: 2.121 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6387, allocations: 4 kB / 1.465 GB, free: 2.117 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.6387, allocations: 4 kB / 1.465 GB, free: 2.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.6387, allocations: 8 kB / 1.465 GB, free: 2.105 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.6391, allocations: 164.6 kB / 1.465 GB, free: 1.945 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.6408, allocations: 1.548 MB / 1.466 GB, free: 324 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.6409, allocations: 169.1 kB / 1.466 GB, free: 144 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.6409, allocations: 84.17 kB / 1.467 GB, free: 56 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.641, allocations: 79.28 kB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.6411, allocations: 105.8 kB / 1.467 GB, free: 15.86 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.6411, allocations: 4 kB / 1.467 GB, free: 15.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/0.6412, allocations: 53.44 kB / 1.467 GB, free: 15.8 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.6413, allocations: 126.7 kB / 1.467 GB, free: 15.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.6417, allocations: 309.8 kB / 1.467 GB, free: 15.36 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6417, allocations: 25.7 kB / 1.467 GB, free: 15.32 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.6419, allocations: 195.6 kB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.6419, allocations: 7.984 kB / 1.467 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.642, allocations: 41.66 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6421, allocations: 338.8 kB / 1.468 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.6422, allocations: 35.98 kB / 1.468 GB, free: 14.7 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.6424, allocations: 163.5 kB / 1.468 GB, free: 14.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.6427, allocations: 192.9 kB / 1.468 GB, free: 14.23 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.6427, allocations: 0 / 1.468 GB, free: 14.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004761/0.6432, allocations: 221.7 kB / 1.468 GB, free: 14.01 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.6432, allocations: 11.94 kB / 1.468 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6432, allocations: 8 kB / 1.468 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.6433, allocations: 8 kB / 1.468 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.6434, allocations: 35.92 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6434, allocations: 4 kB / 1.468 GB, free: 13.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.6436, allocations: 31.78 kB / 1.468 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.6436, allocations: 15.94 kB / 1.468 GB, free: 13.89 MB / 1.17 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.0001917/0.6438, allocations: 221 kB / 1.469 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.6439, allocations: 128.7 kB / 1.469 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.644, allocations: 129.7 kB / 1.469 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.342e-05/0.6441, allocations: 180.2 kB / 1.469 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.904e-05/0.6442, allocations: 184.2 kB / 1.469 GB, free: 13.03 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.6443, allocations: 176.4 kB / 1.469 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.6447, allocations: 464.2 kB / 1.47 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.767e-05/0.6448, allocations: 105 kB / 1.47 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.6449, allocations: 108.9 kB / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.6449, allocations: 180.2 kB / 1.47 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/0.645, allocations: 180.2 kB / 1.47 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.022e-05/0.6451, allocations: 180.2 kB / 1.471 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.906e-05/0.6452, allocations: 184.3 kB / 1.471 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.6454, allocations: 319.6 kB / 1.471 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6456, allocations: 128.9 kB / 1.471 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6457, allocations: 196.1 kB / 1.471 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6458, allocations: 101 kB / 1.471 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.6459, allocations: 184.2 kB / 1.472 GB, free: 10.42 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.646, allocations: 105 kB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002598/0.6463, allocations: 213.2 kB / 1.472 GB, free: 10.1 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6463, allocations: 4 kB / 1.472 GB, free: 10.1 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004052/0.6467, allocations: 55.88 kB / 1.472 GB, free: 10.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.0002837/0.6469, allocations: 198.5 kB / 1.472 GB, free: 9.836 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.6472, allocations: 80.72 kB / 1.472 GB, free: 9.758 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6472, allocations: 320 / 1.472 GB, free: 9.758 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.6472, allocations: 4 kB / 1.472 GB, free: 9.754 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.6477, allocations: 484.1 kB / 1.473 GB, free: 9.277 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.6484, allocations: 434.6 kB / 1.473 GB, free: 8.82 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.6489, allocations: 0.732 MB / 1.474 GB, free: 8.062 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.6489, allocations: 19.44 kB / 1.474 GB, free: 8.043 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.6489, allocations: 0 / 1.474 GB, free: 8.043 MB / 1.17 GB Notification: Performance of Templates: time 0.005655/0.6546, allocations: 2.841 MB / 1.477 GB, free: 5.203 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.028905576007674]