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.001926/0.001926, allocations: 92.72 kB / 19.44 MB, free: 468 kB / 13.93 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.002666/0.002666, allocations: 157.7 kB / 22.75 MB, free: 1.801 MB / 18.57 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.57 MB / 186.7 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.345/3.345, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.8776 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.422e-05/7.668e-05, allocations: 5.266 kB / 0.8776 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.2266/0.2267, allocations: 130.6 MB / 1.005 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.2339, allocations: 4.302 MB / 1.009 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.2344, allocations: 15.88 kB / 1.009 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.2352, allocations: 174.8 kB / 1.01 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.2357, allocations: 83.45 kB / 1.01 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.236, allocations: 71.78 kB / 1.01 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.2366, allocations: 298.7 kB / 1.01 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.2369, allocations: 71.28 kB / 1.01 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.2376, allocations: 143.6 kB / 1.01 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.2378, allocations: 127.6 kB / 1.01 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.2379, allocations: 8 kB / 1.01 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-05/0.2379, allocations: 12 kB / 1.01 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.2379, allocations: 27.84 kB / 1.01 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 8.816e-05/0.238, allocations: 47.92 kB / 1.01 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2383, allocations: 155.4 kB / 1.011 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2383, allocations: 3.984 kB / 1.011 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2383, allocations: 0 / 1.011 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2383, allocations: 0 / 1.011 GB, free: 12.67 MB / 0.9323 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.0006041/0.2389, allocations: 369.6 kB / 1.011 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.239, allocations: 12.03 kB / 1.011 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.2391, allocations: 32.84 kB / 1.011 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.2395, allocations: 195.8 kB / 1.011 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2396, allocations: 12.38 kB / 1.011 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2396, allocations: 12.38 kB / 1.011 GB, free: 12 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.24, allocations: 216.8 kB / 1.011 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.24, allocations: 7.938 kB / 1.011 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.24, allocations: 8 kB / 1.011 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.24, allocations: 4 kB / 1.011 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2402, allocations: 75.67 kB / 1.011 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.2417, allocations: 1.474 MB / 1.013 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2418, allocations: 173.2 kB / 1.013 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.2419, allocations: 80.14 kB / 1.013 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.2419, allocations: 75.28 kB / 1.013 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.481e-05/0.242, allocations: 105.8 kB / 1.013 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 5.11e-06/0.242, allocations: 8 kB / 1.013 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.2421, allocations: 45.53 kB / 1.013 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.2422, allocations: 126.7 kB / 1.014 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2424, allocations: 161.2 kB / 1.014 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2425, allocations: 25.7 kB / 1.014 GB, free: 9.25 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.2426, allocations: 159.5 kB / 1.014 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.2426, allocations: 0 / 1.014 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.2427, allocations: 21.75 kB / 1.014 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2429, allocations: 326.8 kB / 1.014 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.2429, allocations: 4 kB / 1.014 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.2429, allocations: 50 kB / 1.014 GB, free: 8.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.024e-05/0.243, allocations: 61.89 kB / 1.014 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.243, allocations: 0 / 1.014 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001967/0.2432, allocations: 85.67 kB / 1.014 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2433, allocations: 4 kB / 1.014 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2433, allocations: 11.92 kB / 1.014 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2433, allocations: 0 / 1.014 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.2434, allocations: 19.94 kB / 1.014 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2434, allocations: 160 / 1.014 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.2434, allocations: 7.953 kB / 1.014 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2434, allocations: 7.984 kB / 1.014 GB, free: 8.438 MB / 0.9323 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.0001751/0.2436, allocations: 201.1 kB / 1.015 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2437, allocations: 120.9 kB / 1.015 GB, free: 8.105 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.2438, allocations: 121.5 kB / 1.015 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/0.2439, allocations: 180.3 kB / 1.015 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/0.244, allocations: 184.3 kB / 1.015 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.751e-05/0.2441, allocations: 180.2 kB / 1.015 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.2445, allocations: 400.8 kB / 1.016 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.887e-05/0.2445, allocations: 105 kB / 1.016 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.2446, allocations: 104.9 kB / 1.016 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.2447, allocations: 180.2 kB / 1.016 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.2448, allocations: 184.3 kB / 1.016 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001109/0.2449, allocations: 188.1 kB / 1.016 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001104/0.245, allocations: 176.3 kB / 1.017 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2453, allocations: 315.7 kB / 1.017 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.2454, allocations: 116.9 kB / 1.017 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.2456, allocations: 184.2 kB / 1.017 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2457, allocations: 104.9 kB / 1.017 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.2458, allocations: 180.2 kB / 1.017 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.2459, allocations: 105 kB / 1.018 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001234/0.246, allocations: 121.8 kB / 1.018 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.246, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002788/0.2463, allocations: 31.84 kB / 1.018 GB, free: 4.844 MB / 0.9323 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.0002049/0.2465, allocations: 178.5 kB / 1.018 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2466, allocations: 19.94 kB / 1.018 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2466, allocations: 0 / 1.018 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.2466, allocations: 3.938 kB / 1.018 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.2471, allocations: 462 kB / 1.018 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.2478, allocations: 311.8 kB / 1.019 GB, free: 3.848 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2479, allocations: 107.9 kB / 1.019 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.248, allocations: 8.484 kB / 1.019 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.248, allocations: 12.5 kB / 1.019 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.248, allocations: 0 / 1.019 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of Templates: time 0.003439/0.2514, allocations: 323.5 kB / 1.019 GB, free: 3.391 MB / 0.9323 GB " [Timeout remaining time 300] 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: 9.569834458059631]