Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001388/0.001388, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002007/0.002007, allocations: 223.8 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.55 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3369, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01643/0.3533, allocations: 11.95 MB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.3563, allocations: 2.414 MB / 1.341 GB, free: 3.043 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3564, allocations: 0 / 1.341 GB, free: 3.043 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.3567, allocations: 47.69 kB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.357, allocations: 103.3 kB / 1.341 GB, free: 2.895 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3583, allocations: 0.5174 MB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.3586, allocations: 227.9 kB / 1.342 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.3587, allocations: 17.73 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008675/0.3674, allocations: 3.579 MB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3676, allocations: 95.59 kB / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3676, allocations: 8 kB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.3703, allocations: 1.033 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.3703, allocations: 39.83 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3704, allocations: 75.72 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.3713, allocations: 366.8 kB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3713, allocations: 0 / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3713, allocations: 0 / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3713, allocations: 0 / 1.347 GB, free: 12.93 MB / 1.045 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.0008162/0.3721, allocations: 449.4 kB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3722, allocations: 8.031 kB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.841e-05/0.3722, allocations: 8.516 kB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.3722, allocations: 50.73 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3724, allocations: 28.78 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3727, allocations: 162.3 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3727, allocations: 12.7 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.3728, allocations: 20.12 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.3733, allocations: 487.3 kB / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3733, allocations: 0 / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.3734, allocations: 8 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3734, allocations: 7.938 kB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.3739, allocations: 439.5 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3752, allocations: 0.8242 MB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3755, allocations: 154.1 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3756, allocations: 52.83 kB / 1.349 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/0.3764, allocations: 459.8 kB / 1.35 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3765, allocations: 38.56 kB / 1.35 GB, free: 9.543 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.3765, allocations: 3.938 kB / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000377/0.3769, allocations: 149.4 kB / 1.35 GB, free: 9.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3769, allocations: 55.41 kB / 1.35 GB, free: 9.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3771, allocations: 176.6 kB / 1.35 GB, free: 9.137 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3771, allocations: 29.64 kB / 1.35 GB, free: 9.102 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3772, allocations: 148.1 kB / 1.35 GB, free: 8.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3773, allocations: 51.59 kB / 1.35 GB, free: 8.902 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.3774, allocations: 57.59 kB / 1.35 GB, free: 8.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3775, allocations: 322.8 kB / 1.351 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3776, allocations: 35.97 kB / 1.351 GB, free: 8.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.3777, allocations: 145.7 kB / 1.351 GB, free: 8.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.378, allocations: 203.6 kB / 1.351 GB, free: 8.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.378, allocations: 0 / 1.351 GB, free: 8.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003571/0.3784, allocations: 209.2 kB / 1.351 GB, free: 7.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3784, allocations: 8.469 kB / 1.351 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3784, allocations: 4 kB / 1.351 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3784, allocations: 11.94 kB / 1.351 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3786, allocations: 59.91 kB / 1.351 GB, free: 7.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3786, allocations: 7.984 kB / 1.351 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3788, allocations: 31.72 kB / 1.351 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3788, allocations: 12 kB / 1.351 GB, free: 7.699 MB / 1.045 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.0001257/0.3789, allocations: 138.2 kB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.379, allocations: 19.91 kB / 1.352 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.3793, allocations: 161.5 kB / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3793, allocations: 8 kB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3793, allocations: 0 / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3793, allocations: 0 / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3796, allocations: 180.7 kB / 1.352 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3796, allocations: 0 / 1.352 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3797, allocations: 35.92 kB / 1.352 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3797, allocations: 0 / 1.352 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3797, allocations: 11.94 kB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3797, allocations: 0 / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3797, allocations: 0 / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.38, allocations: 227.4 kB / 1.352 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.3801, allocations: 39.81 kB / 1.352 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3801, allocations: 3.938 kB / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3803, allocations: 19.92 kB / 1.352 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.3803, allocations: 7.984 kB / 1.352 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3803, allocations: 15.98 kB / 1.352 GB, free: 6.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.825e-05/0.3804, allocations: 127.8 kB / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0 / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004017/0.3808, allocations: 79.86 kB / 1.352 GB, free: 6.574 MB / 1.045 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.0008245/0.3817, allocations: 0.8275 MB / 1.353 GB, free: 5.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3819, allocations: 116.6 kB / 1.353 GB, free: 5.605 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3819, allocations: 8.062 kB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.382, allocations: 39.92 kB / 1.353 GB, free: 5.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.3825, allocations: 49.09 kB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3851, allocations: 2.049 MB / 1.355 GB, free: 3.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3852, allocations: 106.5 kB / 1.355 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.3854, allocations: 49.73 kB / 1.356 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.3855, allocations: 47.42 kB / 1.356 GB, free: 3.074 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3855, allocations: 3.938 kB / 1.356 GB, free: 3.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.4149, allocations: 6.043 MB / 1.361 GB, free: 13.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.2, allocations: 13.5 kB / 1.362 GB, free: 13.25 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 19.217100463923998]