Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001654/0.001654, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001898/0.001898, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8109 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.479e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008354/0.008389, allocations: 4.43 MB / 0.8152 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.009841, allocations: 0.7497 MB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.009955, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.01017, allocations: 31.7 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.0103, allocations: 28.25 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.01115, allocations: 186.1 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.01145, allocations: 175.3 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.01156, allocations: 17.3 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.0119, allocations: 112.2 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.01204, allocations: 60.45 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.01207, allocations: 16.78 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.01252, allocations: 139.7 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.01257, allocations: 33.05 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.01266, allocations: 51.83 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.01326, allocations: 267.2 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01327, allocations: 1.375 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01327, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.01328, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001061/0.01434, allocations: 404 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.01438, allocations: 8.031 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.01448, allocations: 25.69 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01464, allocations: 122.8 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.01467, allocations: 10.59 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.0147, allocations: 12.38 kB / 0.8175 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.0151, allocations: 122.1 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.01511, allocations: 192 / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.01512, allocations: 4.125 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.01513, allocations: 2.781 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.01561, allocations: 147.8 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.01674, allocations: 379.6 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.01709, allocations: 110.5 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.01732, allocations: 73.72 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.01869, allocations: 485.9 kB / 0.8188 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.01873, allocations: 34.56 kB / 0.8188 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.01873, allocations: 0 / 0.8188 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0008125/0.01954, allocations: 211.9 kB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.0196, allocations: 52.09 kB / 0.8191 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01983, allocations: 169.3 kB / 0.8192 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01987, allocations: 30.67 kB / 0.8193 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01998, allocations: 108.5 kB / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.02002, allocations: 39.64 kB / 0.8194 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02012, allocations: 51.58 kB / 0.8195 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.02031, allocations: 334.7 kB / 0.8198 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.02058, allocations: 71.94 kB / 0.8199 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.02087, allocations: 110 kB / 0.82 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.02135, allocations: 174.3 kB / 0.8201 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02135, allocations: 0 / 0.8201 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006892/0.02204, allocations: 251.7 kB / 0.8204 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.02206, allocations: 6.5 kB / 0.8204 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.02207, allocations: 0 / 0.8204 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.0221, allocations: 4 kB / 0.8204 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.0224, allocations: 59.89 kB / 0.8204 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.02241, allocations: 0 / 0.8204 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.0226, allocations: 43.86 kB / 0.8205 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.02263, allocations: 8 kB / 0.8205 GB, free: 8.055 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001379/0.02277, allocations: 125.8 kB / 0.8206 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.02283, allocations: 11.95 kB / 0.8206 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.0234, allocations: 175.4 kB / 0.8208 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.02341, allocations: 3.984 kB / 0.8208 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.02341, allocations: 4 kB / 0.8208 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02342, allocations: 3.984 kB / 0.8208 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.02366, allocations: 157.2 kB / 0.8209 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02367, allocations: 0 / 0.8209 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.02386, allocations: 35.91 kB / 0.821 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02386, allocations: 0 / 0.821 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.02388, allocations: 0 / 0.821 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02388, allocations: 0 / 0.821 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02388, allocations: 0 / 0.821 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.02446, allocations: 275.3 kB / 0.8212 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.02452, allocations: 23.88 kB / 0.8213 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.02455, allocations: 3.984 kB / 0.8213 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.0247, allocations: 15.98 kB / 0.8213 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.02476, allocations: 7.984 kB / 0.8213 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.02477, allocations: 3.938 kB / 0.8213 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001161/0.02489, allocations: 121.1 kB / 0.8214 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02489, allocations: 4 kB / 0.8214 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003913/0.02528, allocations: 63.86 kB / 0.8215 GB, free: 6.977 MB / 0.7761 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 (12): * Single equations (assignments): 12 * 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.0003651/0.02564, allocations: 151 kB / 0.8216 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.02622, allocations: 167.8 kB / 0.8218 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02622, allocations: 0 / 0.8218 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.02644, allocations: 63.89 kB / 0.8218 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.02687, allocations: 24.16 kB / 0.8219 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.0276, allocations: 241.1 kB / 0.8221 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.02772, allocations: 97.73 kB / 0.8222 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.679e-05/0.02781, allocations: 13.16 kB / 0.8222 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.02788, allocations: 20.48 kB / 0.8222 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.02788, allocations: 0 / 0.8222 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of Templates: time 0.008176/0.03606, allocations: 2.881 MB / 0.825 GB, free: 3.336 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: 8.582630482967943]