Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009768/0.0009768, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001406/0.001406, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.976/0.976, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.806/1.806, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.41e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007038/0.007073, allocations: 4.732 MB / 0.7918 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.007867, allocations: 0.8326 MB / 0.7926 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.007937, allocations: 0 / 0.7926 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.008125, allocations: 33.48 kB / 0.7926 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.008168, allocations: 31.66 kB / 0.7926 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.008734, allocations: 178.1 kB / 0.7928 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.008892, allocations: 183.3 kB / 0.793 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.008975, allocations: 10.62 kB / 0.793 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.009135, allocations: 107.8 kB / 0.7931 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.009209, allocations: 71.78 kB / 0.7932 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.009232, allocations: 12 kB / 0.7932 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.009467, allocations: 137.5 kB / 0.7933 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.009493, allocations: 35.89 kB / 0.7933 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.00954, allocations: 47.89 kB / 0.7934 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.009807, allocations: 224.2 kB / 0.7936 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00981, allocations: 0 / 0.7936 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.009811, allocations: 0 / 0.7936 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.009815, allocations: 1.438 kB / 0.7936 GB, free: 6.164 MB / 0.7448 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.0005991/0.01041, allocations: 493.1 kB / 0.7941 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.01046, allocations: 8.031 kB / 0.7941 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.01052, allocations: 23.88 kB / 0.7941 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.01062, allocations: 135.4 kB / 0.7942 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01064, allocations: 8.375 kB / 0.7942 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.01066, allocations: 12.38 kB / 0.7942 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.01084, allocations: 106.8 kB / 0.7943 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.01084, allocations: 192 / 0.7943 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.01086, allocations: 4.125 kB / 0.7944 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01086, allocations: 4 kB / 0.7944 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01097, allocations: 62.16 kB / 0.7944 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.01157, allocations: 428 kB / 0.7948 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.0117, allocations: 83.02 kB / 0.7949 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.01175, allocations: 35.62 kB / 0.7949 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.0124, allocations: 0.5444 MB / 0.7955 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.01242, allocations: 33.39 kB / 0.7955 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.01242, allocations: 0 / 0.7955 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002303/0.01265, allocations: 117.5 kB / 0.7956 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01268, allocations: 56.38 kB / 0.7957 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01279, allocations: 215.2 kB / 0.7959 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.01281, allocations: 33.7 kB / 0.7959 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.01287, allocations: 160.3 kB / 0.7961 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.01289, allocations: 39.64 kB / 0.7961 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.01295, allocations: 56.48 kB / 0.7961 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.01306, allocations: 0.4961 MB / 0.7966 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.01312, allocations: 31.97 kB / 0.7967 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.0132, allocations: 77.03 kB / 0.7967 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.01332, allocations: 104.4 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01333, allocations: 0 / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002056/0.01353, allocations: 171.5 kB / 0.797 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01354, allocations: 4.5 kB / 0.797 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01355, allocations: 1.344 kB / 0.797 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01356, allocations: 4 kB / 0.797 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.0137, allocations: 51.91 kB / 0.7971 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0137, allocations: 5.062 kB / 0.7971 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.01376, allocations: 35.7 kB / 0.7971 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01378, allocations: 8 kB / 0.7971 GB, free: 2.348 MB / 0.7448 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.856e-05/0.01385, allocations: 161.2 kB / 0.7973 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.01387, allocations: 23.98 kB / 0.7973 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.01403, allocations: 111 kB / 0.7974 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.01403, allocations: 0 / 0.7974 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01403, allocations: 0 / 0.7974 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01404, allocations: 4 kB / 0.7974 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.01416, allocations: 160.5 kB / 0.7975 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01416, allocations: 0 / 0.7975 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.01422, allocations: 23.98 kB / 0.7976 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01423, allocations: 0 / 0.7976 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01423, allocations: 0 / 0.7976 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01424, allocations: 7.938 kB / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01424, allocations: 0 / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01439, allocations: 264.2 kB / 0.7978 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.01442, allocations: 16.06 kB / 0.7978 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.01443, allocations: 0 / 0.7978 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01449, allocations: 15.98 kB / 0.7979 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.01453, allocations: 7.984 kB / 0.7979 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01453, allocations: 8 kB / 0.7979 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.01459, allocations: 147.9 kB / 0.798 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01459, allocations: 0 / 0.798 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002206/0.01481, allocations: 67.86 kB / 0.7981 GB, free: 1.285 MB / 0.7448 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.0001935/0.015, allocations: 163 kB / 0.7982 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.01517, allocations: 101.9 kB / 0.7983 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01517, allocations: 4 kB / 0.7983 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.01522, allocations: 47.66 kB / 0.7984 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01544, allocations: 19.97 kB / 0.7984 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.01594, allocations: 251 kB / 0.7986 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.01598, allocations: 67.84 kB / 0.7987 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.909e-05/0.01604, allocations: 13.14 kB / 0.7987 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.01607, allocations: 20.5 kB / 0.7987 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.01607, allocations: 0 / 0.7987 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of Templates: time 0.004391/0.02047, allocations: 2.87 MB / 0.8015 GB, free: 13.72 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138650479028001]