Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009503/0.0009503, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.0009914/0.0009914, allocations: 169 kB / 24.06 MB, free: 456 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.9172/0.9172, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.952/1.952, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.7656 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.031e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006505/0.006535, allocations: 4.709 MB / 0.884 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.007613, allocations: 0.8358 MB / 0.8849 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.007687, allocations: 0 / 0.8849 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.007867, allocations: 27.72 kB / 0.8849 GB, free: 424 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.00794, allocations: 39.7 kB / 0.8849 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.008525, allocations: 179.2 kB / 0.8851 GB, free: 204 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.008725, allocations: 183.3 kB / 0.8853 GB, free: 20 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.008822, allocations: 9.312 kB / 0.8853 GB, free: 8 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.009057, allocations: 111.8 kB / 0.8854 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.00916, allocations: 67.83 kB / 0.8854 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.009187, allocations: 15.94 kB / 0.8855 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.009494, allocations: 135.7 kB / 0.8856 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.009531, allocations: 31.89 kB / 0.8856 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.009587, allocations: 55.89 kB / 0.8857 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.009933, allocations: 219.3 kB / 0.8859 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.009936, allocations: 0 / 0.8859 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.363e-06/0.009937, allocations: 0 / 0.8859 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.009942, allocations: 0 / 0.8859 GB, free: 15.38 MB / 0.8542 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.0006957/0.01064, allocations: 491.8 kB / 0.8863 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01067, allocations: 12.03 kB / 0.8864 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.01073, allocations: 24.84 kB / 0.8864 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.01084, allocations: 132.4 kB / 0.8865 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.01086, allocations: 8.375 kB / 0.8865 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.01088, allocations: 12.38 kB / 0.8865 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.01108, allocations: 92.62 kB / 0.8866 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.01108, allocations: 3.984 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.0111, allocations: 4 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.0111, allocations: 4 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.01122, allocations: 51.73 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.01197, allocations: 412 kB / 0.8871 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.0121, allocations: 79.02 kB / 0.8871 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.01215, allocations: 27.67 kB / 0.8872 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009123/0.01306, allocations: 0.5467 MB / 0.8877 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.01309, allocations: 37.39 kB / 0.8877 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.01309, allocations: 0 / 0.8877 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002573/0.01335, allocations: 105.5 kB / 0.8878 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.01338, allocations: 55.34 kB / 0.8879 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01352, allocations: 215.4 kB / 0.8881 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.01368, allocations: 33.7 kB / 0.8881 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.01375, allocations: 163.1 kB / 0.8883 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.01378, allocations: 35.69 kB / 0.8883 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.01386, allocations: 63.28 kB / 0.8884 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01401, allocations: 0.5001 MB / 0.8889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.01407, allocations: 19.98 kB / 0.8889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.01415, allocations: 72.45 kB / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.01424, allocations: 100.3 kB / 0.8891 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01424, allocations: 0 / 0.8891 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001686/0.01441, allocations: 151.8 kB / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01442, allocations: 4 kB / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01443, allocations: 8.094 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.01444, allocations: 0 / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01457, allocations: 51.91 kB / 0.8893 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01457, allocations: 3.938 kB / 0.8893 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.01463, allocations: 31.77 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01465, allocations: 4 kB / 0.8893 GB, free: 11.63 MB / 0.8542 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.543e-05/0.01471, allocations: 168.5 kB / 0.8895 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.01474, allocations: 15.91 kB / 0.8895 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.01487, allocations: 111.4 kB / 0.8896 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01487, allocations: 4 kB / 0.8896 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01488, allocations: 3.938 kB / 0.8896 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01488, allocations: 0 / 0.8896 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.01499, allocations: 129.2 kB / 0.8897 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01499, allocations: 4 kB / 0.8897 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.01505, allocations: 27.92 kB / 0.8897 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01505, allocations: 3.984 kB / 0.8897 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01506, allocations: 4 kB / 0.8898 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01506, allocations: 4 kB / 0.8898 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01506, allocations: 0 / 0.8898 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.01519, allocations: 243.7 kB / 0.89 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.01522, allocations: 23.88 kB / 0.89 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.01523, allocations: 4 kB / 0.89 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.01528, allocations: 8 kB / 0.89 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.01531, allocations: 15.91 kB / 0.89 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.01532, allocations: 4 kB / 0.89 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.01536, allocations: 147.8 kB / 0.8902 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01536, allocations: 0 / 0.8902 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000223/0.01559, allocations: 67.81 kB / 0.8902 GB, free: 10.61 MB / 0.8542 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.0001815/0.01577, allocations: 155.1 kB / 0.8904 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.0159, allocations: 87.5 kB / 0.8905 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.0159, allocations: 0 / 0.8905 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.01594, allocations: 39.59 kB / 0.8905 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.01615, allocations: 29.72 kB / 0.8905 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01656, allocations: 234.9 kB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.0166, allocations: 71.83 kB / 0.8908 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.01665, allocations: 13.16 kB / 0.8908 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.01674, allocations: 102.2 kB / 0.8909 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01674, allocations: 0 / 0.8909 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.00436/0.0211, allocations: 3.168 MB / 0.894 GB, free: 6.703 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.052713543642312]