Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001679/0.001679, allocations: 115.5 kB / 17.08 MB, free: 5.82 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.0019/0.0019, allocations: 193.1 kB / 20.02 MB, free: 2.93 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9864/0.9884, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002864/0.9913, allocations: 1.616 MB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.9928, allocations: 0.8989 MB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.9928, allocations: 0.7188 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.9929, allocations: 5.406 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.9931, allocations: 31.16 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.9935, allocations: 144.6 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.9937, allocations: 70.52 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.9938, allocations: 16.52 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.9939, allocations: 38.05 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.9941, allocations: 32.77 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.9941, allocations: 4.562 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.9946, allocations: 288.2 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.9946, allocations: 12.41 kB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.9946, allocations: 31.92 kB / 1.266 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.9949, allocations: 157.7 kB / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.995, allocations: 0.5625 kB / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.995, allocations: 0 / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.995, allocations: 3.938 kB / 1.266 GB, free: 5.945 MB / 0.9981 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.000519/0.9955, allocations: 408.7 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9955, allocations: 10.19 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.9957, allocations: 12 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.9959, allocations: 194.6 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.9959, allocations: 5.844 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.9959, allocations: 2.719 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.9961, allocations: 71.92 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9961, allocations: 1.547 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.9961, allocations: 0 / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.9962, allocations: 1.531 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.9963, allocations: 44.38 kB / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.9967, allocations: 303 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.9969, allocations: 50.09 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.997, allocations: 30.95 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.997, allocations: 0.8125 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.997, allocations: 36.27 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.997, allocations: 4.938 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003765/0.9974, allocations: 103.8 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.9974, allocations: 52.22 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.9975, allocations: 132.6 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.9976, allocations: 26.67 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.9976, allocations: 93.09 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.9976, allocations: 20.27 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.9977, allocations: 23.38 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.9977, allocations: 323.9 kB / 1.268 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.9978, allocations: 21.12 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.9979, allocations: 21.28 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.9981, allocations: 55.41 kB / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.9981, allocations: 0 / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002249/0.9983, allocations: 96.97 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9984, allocations: 4.625 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9984, allocations: 4.625 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9984, allocations: 1.875 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.9985, allocations: 13.48 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.9985, allocations: 4.625 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.9986, allocations: 6.047 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.9986, allocations: 2.547 kB / 1.268 GB, free: 4.074 MB / 0.9981 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.711e-05/0.9987, allocations: 128.3 kB / 1.268 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.9987, allocations: 8.594 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.999, allocations: 101.9 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.999, allocations: 1.438 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.999, allocations: 0.75 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.999, allocations: 1.859 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.9992, allocations: 187.2 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9992, allocations: 0 / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.9993, allocations: 18 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9993, allocations: 0.7812 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9993, allocations: 5.422 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9993, allocations: 0.7188 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9993, allocations: 0.6094 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.9996, allocations: 188 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.9996, allocations: 92.22 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.9996, allocations: 0.9688 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.9997, allocations: 5.062 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.9997, allocations: 5.078 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.9998, allocations: 5.75 kB / 1.269 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.9998, allocations: 97.02 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9998, allocations: 0 / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002504/1, allocations: 27.39 kB / 1.269 GB, free: 3.312 MB / 0.9981 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.0001885/1, allocations: 112.2 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002312/1.001, allocations: 62.7 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.001, allocations: 0.8125 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/1.001, allocations: 28 kB / 1.269 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/1.001, allocations: 11.92 kB / 1.269 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/1.001, allocations: 224.6 kB / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/1.001, allocations: 0.69 MB / 1.27 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/1.001, allocations: 16.77 kB / 1.27 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.001, allocations: 0 / 1.27 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of Templates: time 0.003288/1.005, allocations: 1.119 MB / 1.271 GB, free: 2.211 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.359046767000109]