Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.000811/0.000811, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002104, allocations: 449.8 kB / 10.44 MB, free: 248 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.0009345/0.0009345, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002317, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9786/0.9786, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08473/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.824/1.824, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4853/2.309, allocations: 123.3 MB / 0.7283 GB, free: 5.707 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.92e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004597/0.004616, allocations: 4.934 MB / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.006824, allocations: 2.86 MB / 0.7373 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.006896, allocations: 0 / 0.7373 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.00708, allocations: 47.7 kB / 0.7373 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.007259, allocations: 104.5 kB / 0.7374 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.008149, allocations: 0.5578 MB / 0.738 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.008351, allocations: 239.8 kB / 0.7382 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.008391, allocations: 10.45 kB / 0.7382 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.00859, allocations: 172.4 kB / 0.7384 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.008698, allocations: 80.27 kB / 0.7385 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.008721, allocations: 8 kB / 0.7385 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.009159, allocations: 336 kB / 0.7388 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.009217, allocations: 31.86 kB / 0.7388 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.009263, allocations: 48.69 kB / 0.7389 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.009641, allocations: 327 kB / 0.7392 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.009652, allocations: 5.781 kB / 0.7392 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.844e-06/0.009654, allocations: 0 / 0.7392 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.009665, allocations: 0 / 0.7392 GB, free: 10.66 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006384/0.0103, allocations: 0.5437 MB / 0.7397 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01034, allocations: 12.69 kB / 0.7397 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.01047, allocations: 42.09 kB / 0.7398 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.01064, allocations: 149.5 kB / 0.7399 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.01065, allocations: 12.7 kB / 0.7399 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.01067, allocations: 19.62 kB / 0.7399 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.01093, allocations: 418.7 kB / 0.7403 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01094, allocations: 4.125 kB / 0.7404 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.01095, allocations: 12.12 kB / 0.7404 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.01098, allocations: 8 kB / 0.7404 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.01119, allocations: 247.8 kB / 0.7406 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.0119, allocations: 0.6846 MB / 0.7413 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.01208, allocations: 154.1 kB / 0.7414 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.01212, allocations: 36.78 kB / 0.7415 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/0.01257, allocations: 474 kB / 0.7419 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01259, allocations: 42.55 kB / 0.742 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01259, allocations: 1.406 kB / 0.742 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001597/0.01275, allocations: 136.3 kB / 0.7421 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.01278, allocations: 55.41 kB / 0.7421 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.01286, allocations: 162.6 kB / 0.7423 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.01287, allocations: 34.98 kB / 0.7423 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.01293, allocations: 144.1 kB / 0.7425 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.01295, allocations: 51.52 kB / 0.7425 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.013, allocations: 58.31 kB / 0.7426 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.01308, allocations: 330.8 kB / 0.7429 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.0131, allocations: 27.34 kB / 0.7429 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.262e-05/0.01318, allocations: 126.3 kB / 0.743 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.01331, allocations: 197.8 kB / 0.7432 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01331, allocations: 0 / 0.7432 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001621/0.01347, allocations: 163 kB / 0.7434 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01349, allocations: 9.656 kB / 0.7434 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.0135, allocations: 4 kB / 0.7434 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01351, allocations: 4 kB / 0.7434 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01367, allocations: 70.34 kB / 0.7435 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01368, allocations: 7.938 kB / 0.7435 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.01374, allocations: 27.78 kB / 0.7435 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.01375, allocations: 8 kB / 0.7435 GB, free: 5.906 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.985e-05/0.01383, allocations: 136.5 kB / 0.7436 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.01386, allocations: 15.98 kB / 0.7436 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.01402, allocations: 112.4 kB / 0.7438 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.01403, allocations: 4 kB / 0.7438 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01403, allocations: 0 / 0.7438 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01404, allocations: 0 / 0.7438 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.01416, allocations: 113.7 kB / 0.7439 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.01416, allocations: 9.609 kB / 0.7439 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.01452, allocations: 31.98 kB / 0.7439 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.01456, allocations: 23.94 kB / 0.7439 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01456, allocations: 0 / 0.7439 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.01457, allocations: 14.67 kB / 0.7439 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01457, allocations: 4 kB / 0.7439 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01457, allocations: 0 / 0.7439 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.0147, allocations: 237.1 kB / 0.7442 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.01471, allocations: 0 / 0.7442 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.01479, allocations: 15.98 kB / 0.7442 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.0148, allocations: 3.984 kB / 0.7442 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01481, allocations: 11.38 kB / 0.7442 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.01484, allocations: 32.81 kB / 0.7442 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01484, allocations: 0 / 0.7442 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002341/0.01507, allocations: 83.81 kB / 0.7443 GB, free: 5.031 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002352/0.01531, allocations: 160.3 kB / 0.7445 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.01544, allocations: 110 kB / 0.7446 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.01545, allocations: 4.594 kB / 0.7446 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.01549, allocations: 41.5 kB / 0.7446 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01572, allocations: 154.1 kB / 0.7448 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.01838, allocations: 336.1 kB / 0.7451 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.01842, allocations: 71.98 kB / 0.7451 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.126e-05/0.01851, allocations: 42.66 kB / 0.7452 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.01866, allocations: 121.3 kB / 0.7453 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.01866, allocations: 0 / 0.7453 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.004856/0.02352, allocations: 3.488 MB / 0.7487 GB, free: 0.6094 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.WaterProperties/Buildings_12_Buildings.Media.Examples.WaterProperties.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.946598822250962]