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.002778/0.002778, allocations: 79.7 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.00333/0.00333, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.775/1.775, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.281/3.281, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 175] 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 3.045e-06/3.045e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.447e-05/4.752e-05, allocations: 4.047 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.009208/0.009255, allocations: 4.687 MB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.01101, allocations: 0.8297 MB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.0111, allocations: 0.5 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.01138, allocations: 24.66 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.01148, allocations: 41.36 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.01222, allocations: 172.8 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.01255, allocations: 183.3 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.01268, allocations: 14.86 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.01298, allocations: 111.7 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.01313, allocations: 67.78 kB / 0.8168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.01317, allocations: 12 kB / 0.8168 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.01357, allocations: 136.6 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.01362, allocations: 29.62 kB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.01372, allocations: 51.89 kB / 0.817 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.0143, allocations: 263.1 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.0143, allocations: 0 / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01431, allocations: 4 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.01432, allocations: 0.625 kB / 0.8173 GB, free: 11.45 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.001347/0.01566, allocations: 497.8 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.01571, allocations: 12.03 kB / 0.8178 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.01581, allocations: 20.84 kB / 0.8178 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.016, allocations: 132.9 kB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.01603, allocations: 9.688 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.01606, allocations: 16.38 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.0164, allocations: 98.11 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01641, allocations: 1.312 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.01643, allocations: 16.06 kB / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01644, allocations: 0 / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.01679, allocations: 104.7 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.01801, allocations: 442.5 kB / 0.8186 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.01833, allocations: 116.9 kB / 0.8187 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.0185, allocations: 63.59 kB / 0.8188 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.01999, allocations: 0.5627 MB / 0.8193 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.02003, allocations: 33.95 kB / 0.8193 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.02003, allocations: 1.094 kB / 0.8193 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0006116/0.02064, allocations: 182.1 kB / 0.8195 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.0207, allocations: 55.41 kB / 0.8196 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.02097, allocations: 246.2 kB / 0.8198 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.021, allocations: 29.7 kB / 0.8198 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.02117, allocations: 155.2 kB / 0.82 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.02123, allocations: 47.64 kB / 0.82 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.02134, allocations: 59.34 kB / 0.8201 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003547/0.0217, allocations: 0.5073 MB / 0.8206 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.02188, allocations: 59.97 kB / 0.8206 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.02214, allocations: 110.7 kB / 0.8207 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.02253, allocations: 165.3 kB / 0.8209 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02253, allocations: 0.9375 kB / 0.8209 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005243/0.02305, allocations: 230.4 kB / 0.8211 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.02307, allocations: 9.062 kB / 0.8211 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.02308, allocations: 0 / 0.8211 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.0231, allocations: 4 kB / 0.8211 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.02335, allocations: 49.03 kB / 0.8212 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.02336, allocations: 4 kB / 0.8212 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.0235, allocations: 32.88 kB / 0.8212 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.02353, allocations: 4 kB / 0.8212 GB, free: 7.211 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.0001768/0.0237, allocations: 180.5 kB / 0.8214 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.02374, allocations: 12.48 kB / 0.8214 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.02418, allocations: 154.8 kB / 0.8216 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.02419, allocations: 4 kB / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.02419, allocations: 0 / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.0242, allocations: 0 / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.02445, allocations: 168.5 kB / 0.8217 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.02445, allocations: 0 / 0.8217 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.02458, allocations: 23.98 kB / 0.8217 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.02458, allocations: 4.703 kB / 0.8217 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.0246, allocations: 4 kB / 0.8217 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.0246, allocations: 5.594 kB / 0.8218 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.0246, allocations: 0 / 0.8218 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.0251, allocations: 295.7 kB / 0.822 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.02516, allocations: 28.38 kB / 0.8221 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.02519, allocations: 3.984 kB / 0.8221 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.02529, allocations: 12.09 kB / 0.8221 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.02535, allocations: 11.98 kB / 0.8221 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.02536, allocations: 0 / 0.8221 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001511/0.02551, allocations: 163.9 kB / 0.8222 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02551, allocations: 0 / 0.8222 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003604/0.02587, allocations: 63.86 kB / 0.8223 GB, free: 6.035 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.0004757/0.02634, allocations: 167 kB / 0.8225 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.02682, allocations: 151.5 kB / 0.8226 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02682, allocations: 0 / 0.8226 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.027, allocations: 67.59 kB / 0.8227 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.02737, allocations: 29.84 kB / 0.8227 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.02807, allocations: 255.6 kB / 0.8229 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.0282, allocations: 89.81 kB / 0.823 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.879e-05/0.0283, allocations: 22.5 kB / 0.8231 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.02837, allocations: 20.5 kB / 0.8231 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.02837, allocations: 4 kB / 0.8231 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.009085/0.03746, allocations: 2.88 MB / 0.8259 GB, free: 2.355 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] 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: 9.789555354975164]