Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0009305/0.0009305, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008561/0.0008561, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.9086/0.9086, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.9 MB / 0.6229 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.051e-05, allocations: 6.281 kB / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00184/0.001861, allocations: 1.612 MB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002921, allocations: 0.9231 MB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.002989, allocations: 3.938 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.003016, allocations: 3.938 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.003203, allocations: 27.78 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.003484, allocations: 159.4 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.003615, allocations: 79.66 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.0037, allocations: 11.92 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.00383, allocations: 59.77 kB / 0.9851 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.003895, allocations: 27.91 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.00391, allocations: 4 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.004163, allocations: 275.6 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.004177, allocations: 11.88 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.004205, allocations: 27.92 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.004423, allocations: 187.4 kB / 0.9856 GB, free: 14.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004425, allocations: 0 / 0.9856 GB, free: 14.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004426, allocations: 0 / 0.9856 GB, free: 14.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.00443, allocations: 0 / 0.9856 GB, free: 14.61 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000399/0.004829, allocations: 333.7 kB / 0.9859 GB, free: 14.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004864, allocations: 12.03 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.005012, allocations: 32.86 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005171, allocations: 141.5 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.005181, allocations: 8.375 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.00519, allocations: 4.375 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.005318, allocations: 62.22 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005325, allocations: 192 / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005333, allocations: 384 / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.005342, allocations: 7.938 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.00543, allocations: 43.97 kB / 0.9862 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.005715, allocations: 232.5 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.005808, allocations: 54.5 kB / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.005852, allocations: 28.97 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.005866, allocations: 3.984 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.005885, allocations: 38.5 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.005886, allocations: 0 / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002289/0.006115, allocations: 109.5 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.006143, allocations: 51.41 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.006226, allocations: 136.7 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006238, allocations: 25.7 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.006285, allocations: 100.2 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006303, allocations: 23.78 kB / 0.987 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.006336, allocations: 21.7 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.006417, allocations: 326.8 kB / 0.9873 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.006461, allocations: 23.92 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.006503, allocations: 19.98 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.499e-05/0.006588, allocations: 52.83 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00659, allocations: 0 / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000124/0.006714, allocations: 97.5 kB / 0.9875 GB, free: 12.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006726, allocations: 12 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00673, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.006741, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.006806, allocations: 15.98 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.00681, allocations: 0 / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.006844, allocations: 12.36 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.006849, allocations: 0 / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 5.907e-05/0.006908, allocations: 113.8 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.00693, allocations: 11.89 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.007088, allocations: 114 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.007089, allocations: 4 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007093, allocations: 0 / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007096, allocations: 3.984 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.007197, allocations: 121.3 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007198, allocations: 0 / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.007234, allocations: 15.98 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007235, allocations: 0 / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.007243, allocations: 3.938 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007244, allocations: 0 / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.007245, allocations: 8 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.007382, allocations: 183.5 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.007391, allocations: 7.953 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007403, allocations: 7.875 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.492e-05/0.007448, allocations: 8 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.00748, allocations: 3.984 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.007483, allocations: 4 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.007528, allocations: 113.8 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007528, allocations: 0 / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001594/0.007687, allocations: 23.94 kB / 0.9882 GB, free: 11.66 MB / 0.948 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 (6): * Single equations (assignments): 6 * 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.0001243/0.007812, allocations: 111.8 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.007937, allocations: 55.89 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007938, allocations: 0 / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.007985, allocations: 31.92 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.008181, allocations: 23.27 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.008481, allocations: 211 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.00853, allocations: 75.58 kB / 0.9887 GB, free: 11.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.008559, allocations: 12.5 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.00856, allocations: 0 / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of Templates: time 0.001839/0.0104, allocations: 1.203 MB / 0.9899 GB, free: 9.891 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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: 6.534857055172324]