Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 197.3 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6359, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004705/0.6406, allocations: 4.615 MB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.6415, allocations: 0.8333 MB / 0.9542 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.6416, allocations: 1.188 kB / 0.9542 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.6417, allocations: 33.02 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.6418, allocations: 26.48 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.6422, allocations: 149 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.6424, allocations: 169.9 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.6424, allocations: 14.31 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.6426, allocations: 71 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.6427, allocations: 80.69 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.6427, allocations: 7.688 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.643, allocations: 142.3 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.643, allocations: 33.05 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.6431, allocations: 60.28 kB / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.6434, allocations: 231.8 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6434, allocations: 1.375 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6434, allocations: 0 / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6434, allocations: 0 / 0.9552 GB, free: 4.102 MB / 0.7169 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.0007525/0.6442, allocations: 488.4 kB / 0.9557 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6442, allocations: 9.219 kB / 0.9557 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.6443, allocations: 15.56 kB / 0.9557 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.6444, allocations: 188.3 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6444, allocations: 7.688 kB / 0.9559 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.6444, allocations: 15.41 kB / 0.9559 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.6447, allocations: 117.5 kB / 0.956 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6448, allocations: 4 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6448, allocations: 0 / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6448, allocations: 2.375 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.6452, allocations: 140 kB / 0.9562 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.6461, allocations: 466.2 kB / 0.9566 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.6464, allocations: 129.8 kB / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.6466, allocations: 71.62 kB / 0.9568 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.6477, allocations: 0.9572 MB / 0.9577 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.6477, allocations: 38.5 kB / 0.9578 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.6477, allocations: 5.531 kB / 0.9578 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006208/0.6484, allocations: 214.7 kB / 0.958 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.6484, allocations: 51.41 kB / 0.958 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6485, allocations: 163.4 kB / 0.9582 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.6485, allocations: 25.7 kB / 0.9582 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.6486, allocations: 117.5 kB / 0.9583 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.6486, allocations: 40.42 kB / 0.9584 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.6487, allocations: 56.47 kB / 0.9584 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.6487, allocations: 321 kB / 0.9587 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.649, allocations: 73.3 kB / 0.9588 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.6492, allocations: 115.5 kB / 0.9589 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.6496, allocations: 176.5 kB / 0.9591 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6496, allocations: 0 / 0.9591 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005203/0.6502, allocations: 244.9 kB / 0.9593 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6502, allocations: 8.469 kB / 0.9593 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6502, allocations: 5.344 kB / 0.9593 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6502, allocations: 10.83 kB / 0.9593 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.6505, allocations: 52.5 kB / 0.9594 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6505, allocations: 1.219 kB / 0.9594 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.6507, allocations: 35.25 kB / 0.9594 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.6507, allocations: 10.47 kB / 0.9594 GB, free: 448 kB / 0.7169 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 6.947e-05/0.6508, allocations: 123.2 kB / 0.9595 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.6508, allocations: 13.38 kB / 0.9595 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.6513, allocations: 180.5 kB / 0.9597 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6513, allocations: 1.062 kB / 0.9597 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6513, allocations: 1.094 kB / 0.9597 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.6513, allocations: 0 / 0.9597 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.6515, allocations: 213.8 kB / 0.9599 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6515, allocations: 1.375 kB / 0.9599 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6517, allocations: 36.53 kB / 0.96 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.6517, allocations: 9.25 kB / 0.96 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6517, allocations: 5.375 kB / 0.96 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6517, allocations: 0 / 0.96 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6517, allocations: 1.375 kB / 0.96 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.6522, allocations: 256.2 kB / 0.9602 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.6522, allocations: 104.9 kB / 0.9603 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.6523, allocations: 5.375 kB / 0.9603 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6524, allocations: 10.86 kB / 0.9603 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.6525, allocations: 9.484 kB / 0.9603 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6525, allocations: 5.375 kB / 0.9604 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.975e-05/0.6526, allocations: 112.6 kB / 0.9605 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6526, allocations: 1.375 kB / 0.9605 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003356/0.6529, allocations: 60.8 kB / 0.9605 GB, free: 15.5 MB / 0.7325 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.0002878/0.6532, allocations: 164.9 kB / 0.9607 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.6537, allocations: 171.3 kB / 0.9608 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6537, allocations: 0 / 0.9608 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.654, allocations: 63.3 kB / 0.9609 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.6544, allocations: 25.86 kB / 0.9609 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.6548, allocations: 292.8 kB / 0.9612 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6551, allocations: 0.7103 MB / 0.9619 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.6552, allocations: 17.06 kB / 0.9619 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.6553, allocations: 18.98 kB / 0.9619 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6553, allocations: 1.094 kB / 0.9619 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.005597/0.6609, allocations: 2.549 MB / 0.9644 GB, free: 13 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches