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.001663/0.001663, allocations: 109.6 kB / 17.08 MB, free: 6.012 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.001671/0.001672, allocations: 192.7 kB / 20.03 MB, free: 3.082 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.246 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.652/2.652, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.337, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00663/0.3437, allocations: 4.578 MB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3449, allocations: 0.8147 MB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.345, allocations: 4 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.3452, allocations: 39.69 kB / 1.181 GB, free: 456 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.3453, allocations: 27.72 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.3458, allocations: 175.3 kB / 1.181 GB, free: 252 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.346, allocations: 171.4 kB / 1.182 GB, free: 80 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3462, allocations: 25.09 kB / 1.182 GB, free: 52 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.3464, allocations: 71.84 kB / 1.182 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3465, allocations: 83.58 kB / 1.182 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3465, allocations: 12 kB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.3469, allocations: 159.8 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.3469, allocations: 31.91 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.347, allocations: 67.66 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3474, allocations: 235.2 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3474, allocations: 0 / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3474, allocations: 0 / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3474, allocations: 0 / 1.182 GB, free: 15.4 MB / 0.9356 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.0009285/0.3484, allocations: 490.5 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3484, allocations: 12.03 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.3485, allocations: 12.89 kB / 1.183 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3487, allocations: 186.1 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3487, allocations: 12.31 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3487, allocations: 12.38 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3491, allocations: 123.2 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3491, allocations: 0 / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3491, allocations: 7.984 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3491, allocations: 4 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.3495, allocations: 139.8 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.3506, allocations: 460.5 kB / 1.184 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3509, allocations: 134.5 kB / 1.184 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3511, allocations: 76.8 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.3525, allocations: 0.9605 MB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3526, allocations: 34.56 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.3526, allocations: 4 kB / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0007176/0.3533, allocations: 213.3 kB / 1.185 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3534, allocations: 59.33 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3536, allocations: 165.4 kB / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3536, allocations: 29.7 kB / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.3537, allocations: 112.4 kB / 1.185 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3537, allocations: 43.64 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.3538, allocations: 45.7 kB / 1.185 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.354, allocations: 326.8 kB / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3542, allocations: 71.94 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.3545, allocations: 111.4 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3549, allocations: 178.3 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.355, allocations: 0 / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005872/0.3556, allocations: 229.3 kB / 1.186 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3556, allocations: 11.94 kB / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3556, allocations: 0 / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.3556, allocations: 3.938 kB / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.3559, allocations: 67.98 kB / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3559, allocations: 0 / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3561, allocations: 31.83 kB / 1.186 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3561, allocations: 4 kB / 1.186 GB, free: 10.73 MB / 0.9356 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.0001135/0.3562, allocations: 129.8 kB / 1.187 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.3563, allocations: 11.91 kB / 1.187 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.3568, allocations: 191.2 kB / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3568, allocations: 0 / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3568, allocations: 0 / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3568, allocations: 0 / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3571, allocations: 217.5 kB / 1.187 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3571, allocations: 0 / 1.187 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3573, allocations: 31.97 kB / 1.187 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3573, allocations: 7.938 kB / 1.187 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3573, allocations: 7.938 kB / 1.187 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3573, allocations: 0 / 1.187 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3573, allocations: 4 kB / 1.187 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.3578, allocations: 255.3 kB / 1.187 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.3579, allocations: 104.9 kB / 1.187 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3579, allocations: 7.922 kB / 1.187 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3581, allocations: 11.98 kB / 1.187 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3581, allocations: 11.98 kB / 1.187 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3581, allocations: 4 kB / 1.187 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.255e-05/0.3582, allocations: 120.9 kB / 1.187 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3582, allocations: 0 / 1.187 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003473/0.3586, allocations: 55.88 kB / 1.188 GB, free: 9.48 MB / 0.9356 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.0003282/0.3589, allocations: 163 kB / 1.188 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005289/0.3595, allocations: 171.8 kB / 1.188 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3595, allocations: 0 / 1.188 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.3597, allocations: 67.94 kB / 1.188 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3601, allocations: 18.06 kB / 1.188 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.3606, allocations: 282.8 kB / 1.188 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.361, allocations: 0.7045 MB / 1.189 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.3611, allocations: 15.44 kB / 1.189 GB, free: 8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3611, allocations: 0 / 1.189 GB, free: 8 MB / 0.9356 GB Notification: Performance of Templates: time 0.005541/0.3666, allocations: 2.571 MB / 1.191 GB, free: 5.441 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] 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: 10.644509617006406]