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.001875/0.001875, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002191/0.002191, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.623/1.623, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.511/3.511, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002075/0.002075, allocations: 72.5 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2187/0.6339, allocations: 150.5 MB / 1.474 GB, free: 9.879 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007426/0.6414, allocations: 5.515 MB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.6417, allocations: 11.94 kB / 1.479 GB, free: 4.336 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.6424, allocations: 198.6 kB / 1.48 GB, free: 4.141 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.6428, allocations: 95.38 kB / 1.48 GB, free: 4.047 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.6443, allocations: 0.5217 MB / 1.48 GB, free: 3.523 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.6448, allocations: 414.7 kB / 1.481 GB, free: 3.117 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.6451, allocations: 96.19 kB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.6455, allocations: 199.2 kB / 1.481 GB, free: 2.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.6457, allocations: 159.3 kB / 1.481 GB, free: 2.664 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.6458, allocations: 16 kB / 1.481 GB, free: 2.648 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.6465, allocations: 374.9 kB / 1.481 GB, free: 2.281 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6466, allocations: 71.75 kB / 1.482 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6467, allocations: 87.59 kB / 1.482 GB, free: 2.125 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.6474, allocations: 454.3 kB / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6474, allocations: 0 / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6474, allocations: 0 / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.6474, allocations: 0 / 1.482 GB, free: 1.68 MB / 1.17 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.0007731/0.6482, allocations: 461.3 kB / 1.482 GB, free: 1.199 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6482, allocations: 8.031 kB / 1.483 GB, free: 1.191 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.6486, allocations: 47.84 kB / 1.483 GB, free: 1.145 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.6492, allocations: 204.7 kB / 1.483 GB, free: 0.918 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.6495, allocations: 242.1 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.6495, allocations: 24 kB / 1.483 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.6501, allocations: 293.9 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6501, allocations: 4 kB / 1.483 GB, free: 288 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.6502, allocations: 8 kB / 1.483 GB, free: 280 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6502, allocations: 8 kB / 1.483 GB, free: 272 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.6505, allocations: 152.6 kB / 1.483 GB, free: 120 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.6525, allocations: 1.448 MB / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.6526, allocations: 173.1 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.6527, allocations: 88.17 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.6527, allocations: 75.28 kB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.815e-05/0.6528, allocations: 109.8 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.6528, allocations: 0 / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001446/0.653, allocations: 45.55 kB / 1.485 GB, free: 14.09 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.6531, allocations: 134.6 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.6535, allocations: 235 kB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.6535, allocations: 25.7 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.6537, allocations: 203.6 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.6537, allocations: 7.984 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6538, allocations: 45.66 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.654, allocations: 326.8 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-05/0.6541, allocations: 35.98 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.6544, allocations: 162.3 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.6547, allocations: 200.8 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6547, allocations: 4 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005412/0.6553, allocations: 213.7 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.6553, allocations: 8 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.6553, allocations: 8.031 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.6554, allocations: 7.938 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.6556, allocations: 39.92 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.6556, allocations: 7.938 kB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.6558, allocations: 27.78 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.6558, allocations: 12 kB / 1.487 GB, free: 12.24 MB / 1.186 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.0002367/0.6561, allocations: 213.6 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.6562, allocations: 116.9 kB / 1.487 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6563, allocations: 121.3 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/0.6564, allocations: 184.3 kB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/0.6565, allocations: 188.2 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.429e-05/0.6566, allocations: 180.2 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.657, allocations: 412.8 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-05/0.6571, allocations: 108.9 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.6572, allocations: 101 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.6573, allocations: 180.2 kB / 1.489 GB, free: 10.37 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.6574, allocations: 184.2 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.463e-05/0.6574, allocations: 184.2 kB / 1.489 GB, free: 9.992 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001215/0.6576, allocations: 184.2 kB / 1.489 GB, free: 9.805 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.6578, allocations: 315.7 kB / 1.49 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6579, allocations: 120.9 kB / 1.49 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.658, allocations: 180.3 kB / 1.49 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.6582, allocations: 108.9 kB / 1.49 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6583, allocations: 184.2 kB / 1.49 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.6584, allocations: 108.9 kB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002005/0.6586, allocations: 156.2 kB / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6586, allocations: 0 / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005625/0.6591, allocations: 67.77 kB / 1.49 GB, free: 8.531 MB / 1.186 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.000358/0.6595, allocations: 198.5 kB / 1.491 GB, free: 8.328 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.6597, allocations: 76.66 kB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6597, allocations: 384 / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.6597, allocations: 4 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.6602, allocations: 467.7 kB / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.661, allocations: 400.8 kB / 1.491 GB, free: 7.367 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.6611, allocations: 132.7 kB / 1.492 GB, free: 7.219 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000128/0.6613, allocations: 25.36 kB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.6613, allocations: 15.44 kB / 1.492 GB, free: 7.18 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/0.6613, allocations: 3.938 kB / 1.492 GB, free: 7.176 MB / 1.186 GB Notification: Performance of Templates: time 0.00569/0.667, allocations: 1.453 MB / 1.493 GB, free: 5.734 MB / 1.186 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 gbode -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.19740374200046]