Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.89 kB / 1.056 GB, free: 2.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3449, allocations: 160.7 MB / 1.213 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007165/0.3521, allocations: 4.607 MB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3533, allocations: 0.8186 MB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.3533, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.3535, allocations: 31.77 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.3536, allocations: 31.66 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.3541, allocations: 175.4 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.3544, allocations: 183.3 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3545, allocations: 13.12 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3547, allocations: 79.73 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3548, allocations: 71.75 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3548, allocations: 12 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.3552, allocations: 163.7 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.3552, allocations: 39.78 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.3553, allocations: 71.7 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.3557, allocations: 231.5 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3557, allocations: 0 / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3557, allocations: 0 / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3558, allocations: 4 kB / 1.219 GB, free: 10.9 MB / 0.9669 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.0009543/0.3567, allocations: 486.5 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3568, allocations: 8.031 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.3568, allocations: 46.73 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3568, allocations: 8.891 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.357, allocations: 192 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.357, allocations: 12.36 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3571, allocations: 12.38 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.3574, allocations: 127.2 kB / 1.22 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3574, allocations: 4 kB / 1.22 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3574, allocations: 4 kB / 1.22 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3574, allocations: 4 kB / 1.22 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.3578, allocations: 139.9 kB / 1.22 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3588, allocations: 464.4 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.3591, allocations: 114.5 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3593, allocations: 68.81 kB / 1.221 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.3608, allocations: 0.9605 MB / 1.222 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3608, allocations: 38.56 kB / 1.222 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.3608, allocations: 3.938 kB / 1.222 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000666/0.3615, allocations: 217.3 kB / 1.222 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.3615, allocations: 51.41 kB / 1.222 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3617, allocations: 164.7 kB / 1.222 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3617, allocations: 29.7 kB / 1.222 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.3618, allocations: 112.4 kB / 1.222 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3619, allocations: 47.62 kB / 1.222 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.3619, allocations: 53.69 kB / 1.223 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3621, allocations: 322.8 kB / 1.223 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3623, allocations: 71.95 kB / 1.223 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.3626, allocations: 111.4 kB / 1.223 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.363, allocations: 164.9 kB / 1.223 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.363, allocations: 4 kB / 1.223 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005917/0.3636, allocations: 247.3 kB / 1.223 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3636, allocations: 4 kB / 1.223 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3636, allocations: 7.938 kB / 1.223 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3636, allocations: 0 / 1.223 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3639, allocations: 56 kB / 1.223 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3639, allocations: 7.938 kB / 1.223 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.364, allocations: 39.75 kB / 1.224 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.3641, allocations: 4 kB / 1.224 GB, free: 6.176 MB / 0.9669 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.0001184/0.3642, allocations: 124.7 kB / 1.224 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3642, allocations: 15.91 kB / 1.224 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.3647, allocations: 178.8 kB / 1.224 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3647, allocations: 4 kB / 1.224 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3648, allocations: 0 / 1.224 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3648, allocations: 0 / 1.224 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.3651, allocations: 213.6 kB / 1.224 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3651, allocations: 0 / 1.224 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3652, allocations: 31.97 kB / 1.224 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3652, allocations: 0 / 1.224 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3653, allocations: 15.94 kB / 1.224 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3653, allocations: 3.938 kB / 1.224 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3653, allocations: 0 / 1.224 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.3657, allocations: 255.3 kB / 1.224 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.3658, allocations: 100.9 kB / 1.224 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3658, allocations: 7.938 kB / 1.224 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.366, allocations: 15.98 kB / 1.224 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.366, allocations: 7.984 kB / 1.224 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.366, allocations: 8 kB / 1.224 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.707e-05/0.3661, allocations: 112 kB / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3661, allocations: 0 / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003703/0.3665, allocations: 63.86 kB / 1.225 GB, free: 4.945 MB / 0.9669 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.001118/0.3676, allocations: 0.8649 MB / 1.225 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.3681, allocations: 159.8 kB / 1.226 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3681, allocations: 3.938 kB / 1.226 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.3684, allocations: 68.08 kB / 1.226 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.3689, allocations: 19.92 kB / 1.226 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3718, allocations: 1.954 MB / 1.228 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3722, allocations: 0.7006 MB / 1.228 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.979e-05/0.3723, allocations: 20.95 kB / 1.228 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.3724, allocations: 35.42 kB / 1.228 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3724, allocations: 0 / 1.228 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.4028, allocations: 4.307 MB / 1.233 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.718, allocations: 10.33 kB / 1.233 GB, free: 12.82 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.814320769160986]