Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.001231/0.001231, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002939, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001098/0.001098, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002529, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9109/0.9109, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0898/1.001, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.815/1.815, allocations: 378.3 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4616/2.277, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.402e-05, allocations: 6.312 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004295/0.004319, allocations: 2.46 MB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006637, allocations: 1.463 MB / 0.7335 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.006836, allocations: 3.938 kB / 0.7335 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.007466, allocations: 192.2 kB / 0.7337 GB, free: 340 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.007634, allocations: 81 kB / 0.7337 GB, free: 260 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.008032, allocations: 133.4 kB / 0.7339 GB, free: 128 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.008497, allocations: 338.7 kB / 0.7342 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.008621, allocations: 39.44 kB / 0.7342 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.009066, allocations: 248.7 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.009392, allocations: 164.4 kB / 0.7346 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.009454, allocations: 32 kB / 0.7347 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.009637, allocations: 81.3 kB / 0.7347 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.009757, allocations: 103.7 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.009863, allocations: 83.81 kB / 0.7349 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.01031, allocations: 299 kB / 0.7352 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.01032, allocations: 1.625 kB / 0.7352 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01032, allocations: 3.938 kB / 0.7352 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.01034, allocations: 0 / 0.7352 GB, free: 14.76 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001097/0.01144, allocations: 0.667 MB / 0.7359 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01148, allocations: 8.031 kB / 0.7359 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.01223, allocations: 224.4 kB / 0.7361 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.01261, allocations: 248.8 kB / 0.7363 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.01275, allocations: 191 kB / 0.7365 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.01279, allocations: 12.91 kB / 0.7365 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.01318, allocations: 192.2 kB / 0.7367 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01319, allocations: 192 / 0.7367 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.01322, allocations: 8.125 kB / 0.7367 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01323, allocations: 5.219 kB / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.01346, allocations: 93.5 kB / 0.7368 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.01437, allocations: 410.9 kB / 0.7372 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.01465, allocations: 153.2 kB / 0.7373 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.01476, allocations: 60.84 kB / 0.7374 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.01479, allocations: 4 kB / 0.7374 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.01482, allocations: 34.56 kB / 0.7374 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.01482, allocations: 1.5 kB / 0.7374 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004732/0.01529, allocations: 204.3 kB / 0.7376 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.01533, allocations: 55.41 kB / 0.7377 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01562, allocations: 315.4 kB / 0.738 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.01565, allocations: 33.7 kB / 0.738 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.01575, allocations: 133.4 kB / 0.7381 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.01581, allocations: 55.53 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01591, allocations: 37.69 kB / 0.7382 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01605, allocations: 350.7 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.01616, allocations: 45.84 kB / 0.7386 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01633, allocations: 152.5 kB / 0.7387 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.01654, allocations: 110.3 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01655, allocations: 1.406 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003021/0.01685, allocations: 156.4 kB / 0.739 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01687, allocations: 4 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01687, allocations: 4 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01689, allocations: 4.656 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.01719, allocations: 56.56 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01719, allocations: 3.984 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.01735, allocations: 25.69 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.01737, allocations: 8 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001199/0.01749, allocations: 127 kB / 0.7392 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.01756, allocations: 23.98 kB / 0.7392 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.01761, allocations: 43.44 kB / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01761, allocations: 0 / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.01762, allocations: 0 / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01762, allocations: 4 kB / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.01793, allocations: 205.6 kB / 0.7395 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01794, allocations: 3.094 kB / 0.7395 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.0182, allocations: 59.88 kB / 0.7396 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.01825, allocations: 31.75 kB / 0.7396 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.01826, allocations: 7.938 kB / 0.7396 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.01828, allocations: 7.984 kB / 0.7396 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01828, allocations: 0 / 0.7396 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01829, allocations: 0 / 0.7396 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.01866, allocations: 295.6 kB / 0.7399 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.01871, allocations: 0 / 0.7399 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.01888, allocations: 24.94 kB / 0.7399 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.01897, allocations: 19.95 kB / 0.7399 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.01899, allocations: 8.594 kB / 0.7399 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001577/0.01915, allocations: 133.3 kB / 0.7401 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01915, allocations: 0 / 0.7401 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002988/0.01945, allocations: 68.59 kB / 0.7401 GB, free: 9.473 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001233/0.01957, allocations: 90.16 kB / 0.7402 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.0198, allocations: 132.6 kB / 0.7403 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.01981, allocations: 4 kB / 0.7403 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.01993, allocations: 92.7 kB / 0.7404 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.0203, allocations: 464.6 kB / 0.7409 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.02272, allocations: 0.5804 MB / 0.7414 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.02279, allocations: 100.3 kB / 0.7415 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.02294, allocations: 36.91 kB / 0.7416 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.02317, allocations: 111.3 kB / 0.7417 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/0.02317, allocations: 0 / 0.7417 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of Templates: time 0.006713/0.02988, allocations: 4.824 MB / 0.7464 GB, free: 3.137 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715074082836509]