Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.00103/0.00103, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002494, 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.0009804/0.0009804, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002156, allocations: 479.5 kB / 11.83 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.976/0.976, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08815/1.064, 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.866/1.866, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4722/2.338, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.228e-05, allocations: 3.281 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004159/0.004182, allocations: 2.318 MB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.005688, allocations: 0.9456 MB / 0.7329 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.005821, allocations: 4 kB / 0.7329 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.00636, allocations: 179.7 kB / 0.733 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.006535, allocations: 79.23 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.006899, allocations: 108.8 kB / 0.7332 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.007192, allocations: 224.7 kB / 0.7334 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.007351, allocations: 71.94 kB / 0.7335 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.007597, allocations: 178.7 kB / 0.7337 GB, free: 348 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.007702, allocations: 67.73 kB / 0.7337 GB, free: 280 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.007735, allocations: 17.22 kB / 0.7338 GB, free: 264 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.008072, allocations: 151.8 kB / 0.7339 GB, free: 112 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.008263, allocations: 211.4 kB / 0.7341 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.008383, allocations: 107.5 kB / 0.7342 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.008919, allocations: 446.7 kB / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.008933, allocations: 5.125 kB / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.008934, allocations: 0 / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.008954, allocations: 0 / 0.7346 GB, free: 15.36 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001166/0.01012, allocations: 0.9643 MB / 0.7356 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.01016, allocations: 8.562 kB / 0.7356 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.01061, allocations: 171.4 kB / 0.7357 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.01107, allocations: 390.7 kB / 0.7361 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.01109, allocations: 8.375 kB / 0.7361 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.01111, allocations: 9.031 kB / 0.7361 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.01135, allocations: 123.7 kB / 0.7363 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01136, allocations: 4.125 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.01138, allocations: 8.375 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01139, allocations: 1.469 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.606e-05/0.01147, allocations: 40.88 kB / 0.7363 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.01213, allocations: 381.4 kB / 0.7367 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.01236, allocations: 118.6 kB / 0.7368 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.0124, allocations: 28.78 kB / 0.7368 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.0128, allocations: 143.5 kB / 0.7369 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.01282, allocations: 34.56 kB / 0.737 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.01283, allocations: 0 / 0.737 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002457/0.01307, allocations: 116.2 kB / 0.7371 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.01311, allocations: 55.41 kB / 0.7371 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.01372, allocations: 0.6287 MB / 0.7378 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01373, allocations: 29.7 kB / 0.7378 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.01387, allocations: 212.4 kB / 0.738 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.0139, allocations: 35.69 kB / 0.738 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.01395, allocations: 25.7 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.01404, allocations: 310 kB / 0.7383 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.01407, allocations: 14.83 kB / 0.7384 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.01412, allocations: 39.58 kB / 0.7384 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.01421, allocations: 54.25 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01421, allocations: 0.5938 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001738/0.01438, allocations: 115.1 kB / 0.7386 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.0144, allocations: 4 kB / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.0144, allocations: 4 kB / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01442, allocations: 0 / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01455, allocations: 31.02 kB / 0.7386 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01455, allocations: 7.922 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.01465, allocations: 15.88 kB / 0.7386 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01466, allocations: 7.984 kB / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0001045/0.01476, allocations: 112.7 kB / 0.7387 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.01482, allocations: 43.89 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01505, allocations: 136 kB / 0.7389 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01505, allocations: 4.656 kB / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01505, allocations: 0 / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01506, allocations: 4.594 kB / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.01536, allocations: 242.2 kB / 0.7391 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01536, allocations: 0 / 0.7391 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-05/0.01546, allocations: 25.42 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.01558, allocations: 91.39 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01558, allocations: 0 / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.0156, allocations: 8.953 kB / 0.7393 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.0156, allocations: 0 / 0.7393 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.0156, allocations: 3.984 kB / 0.7393 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.01581, allocations: 247.3 kB / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.01585, allocations: 8 kB / 0.7395 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01596, allocations: 0.6562 kB / 0.7395 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.016, allocations: 8.547 kB / 0.7395 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.016, allocations: 1.531 kB / 0.7395 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002965/0.0163, allocations: 336.5 kB / 0.7398 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.0163, allocations: 0 / 0.7398 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002001/0.0165, allocations: 71.89 kB / 0.7399 GB, free: 9.727 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001518/0.01665, allocations: 102.4 kB / 0.74 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.01675, allocations: 52.72 kB / 0.7401 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01676, allocations: 10.44 kB / 0.7401 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.0168, allocations: 33.5 kB / 0.7401 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.01717, allocations: 298.6 kB / 0.7404 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.01918, allocations: 0.9841 MB / 0.7413 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.01929, allocations: 173.2 kB / 0.7415 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.0194, allocations: 71.81 kB / 0.7416 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.01952, allocations: 99.36 kB / 0.7417 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.01952, allocations: 0 / 0.7417 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of Templates: time 0.00911/0.02863, allocations: 4.861 MB / 0.7464 GB, free: 3.184 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.933595921844244]