Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.001336/0.001336, allocations: 110 kB / 18.93 MB, free: 2.945 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.001672/0.001672, allocations: 189.2 kB / 22.23 MB, free: 5.16 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.325/1.325, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.948/2.948, allocations: 0.4893 GB / 0.7884 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 69.27 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3412, allocations: 174.9 MB / 1.316 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006865/0.3481, allocations: 4.776 MB / 1.321 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.3514, allocations: 2.73 MB / 1.323 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3515, allocations: 0 / 1.323 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3518, allocations: 47.67 kB / 1.323 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.3521, allocations: 95.42 kB / 1.324 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3534, allocations: 0.5224 MB / 1.324 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.3536, allocations: 235.9 kB / 1.324 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3537, allocations: 5.75 kB / 1.324 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.3539, allocations: 123.5 kB / 1.324 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3541, allocations: 91.66 kB / 1.324 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3541, allocations: 8 kB / 1.324 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008011/0.3549, allocations: 387.3 kB / 1.325 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.355, allocations: 35.83 kB / 1.325 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.355, allocations: 83.66 kB / 1.325 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.3557, allocations: 370.8 kB / 1.325 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3557, allocations: 0 / 1.325 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3557, allocations: 0 / 1.325 GB, free: 128 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3557, allocations: 0 / 1.325 GB, free: 128 kB / 1.014 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.0008574/0.3566, allocations: 433.5 kB / 1.326 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3566, allocations: 11.97 kB / 1.326 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3568, allocations: 24.84 kB / 1.326 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3571, allocations: 162.2 kB / 1.326 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3571, allocations: 12.7 kB / 1.326 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3571, allocations: 12.38 kB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.3575, allocations: 260.2 kB / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3575, allocations: 0 / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.3575, allocations: 12 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.3576, allocations: 7.984 kB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.3581, allocations: 439.5 kB / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3593, allocations: 0.9169 MB / 1.328 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3596, allocations: 155.3 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.3597, allocations: 56.88 kB / 1.328 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.3604, allocations: 467.8 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3606, allocations: 38.56 kB / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.3606, allocations: 0 / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003363/0.3609, allocations: 137.5 kB / 1.328 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.361, allocations: 63.28 kB / 1.328 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3611, allocations: 164.7 kB / 1.329 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3612, allocations: 33.7 kB / 1.329 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3613, allocations: 144 kB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3613, allocations: 55.53 kB / 1.329 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.3615, allocations: 61.64 kB / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3617, allocations: 326.8 kB / 1.329 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.3618, allocations: 35.97 kB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.362, allocations: 143.8 kB / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.3622, allocations: 197.5 kB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3622, allocations: 0 / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003401/0.3626, allocations: 215.6 kB / 1.33 GB, free: 11.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3626, allocations: 4 kB / 1.33 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3626, allocations: 4 kB / 1.33 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3626, allocations: 8 kB / 1.33 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3628, allocations: 63.78 kB / 1.33 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3628, allocations: 4 kB / 1.33 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3629, allocations: 31.73 kB / 1.33 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3629, allocations: 12 kB / 1.33 GB, free: 11.14 MB / 1.029 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 0.0001353/0.3631, allocations: 135.7 kB / 1.33 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.3631, allocations: 15.91 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.3634, allocations: 162.8 kB / 1.33 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3635, allocations: 3.938 kB / 1.33 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3635, allocations: 0 / 1.33 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3635, allocations: 4 kB / 1.33 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3637, allocations: 196.5 kB / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3637, allocations: 4 kB / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.3638, allocations: 20 kB / 1.33 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3638, allocations: 3.984 kB / 1.33 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3638, allocations: 8 kB / 1.33 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3638, allocations: 3.938 kB / 1.33 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3638, allocations: 4 kB / 1.33 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3641, allocations: 213 kB / 1.331 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.3642, allocations: 35.8 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3642, allocations: 4 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3644, allocations: 15.94 kB / 1.331 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.3644, allocations: 15.97 kB / 1.331 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3644, allocations: 8 kB / 1.331 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001147/0.3645, allocations: 122.5 kB / 1.331 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 0 / 1.331 GB, free: 10.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003845/0.3649, allocations: 79.86 kB / 1.331 GB, free: 10.04 MB / 1.029 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.0003236/0.3653, allocations: 175.6 kB / 1.331 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3655, allocations: 115.7 kB / 1.331 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3655, allocations: 3.938 kB / 1.331 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.3656, allocations: 39.92 kB / 1.331 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.366, allocations: 52.88 kB / 1.331 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.3667, allocations: 356.9 kB / 1.332 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3671, allocations: 0.7089 MB / 1.332 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.3672, allocations: 45.81 kB / 1.332 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3673, allocations: 31.42 kB / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3673, allocations: 7.875 kB / 1.332 GB, free: 8.449 MB / 1.029 GB Notification: Performance of Templates: time 0.007605/0.3749, allocations: 3.57 MB / 1.336 GB, free: 4.918 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.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: 8.23982294369489]