Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001785/0.001785, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00232/0.00232, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.714/1.714, allocations: 230.6 MB / 256 MB, free: 7.957 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.37/3.37, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",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.00207/0.00207, allocations: 65.72 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00301/0.3893, allocations: 1.289 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004933/0.3942, allocations: 3.009 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.3943, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.3943, allocations: 7.922 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.3943, allocations: 7.922 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.395, allocations: 115.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.3951, allocations: 35.86 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.3951, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.3958, allocations: 191.6 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.3959, allocations: 23.91 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3959, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3961, allocations: 71.81 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3961, allocations: 11.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.3961, allocations: 15.94 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3964, allocations: 63.78 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3964, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3964, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3964, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004583/0.3968, allocations: 266.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3969, allocations: 12.03 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.3969, allocations: 38.73 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.397, allocations: 8.938 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3971, allocations: 106.5 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3971, allocations: 4.375 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3971, allocations: 8.375 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3973, allocations: 53.61 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3973, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/0.3974, allocations: 15.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.3976, allocations: 148.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3977, allocations: 54.56 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.3978, allocations: 20.77 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.3984, allocations: 237.9 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7e-05/0.3985, allocations: 42.55 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3985, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006534/0.3991, allocations: 229.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3992, allocations: 59.33 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.3993, allocations: 97.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3993, allocations: 29.7 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3994, allocations: 92.08 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3994, allocations: 27.75 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3994, allocations: 29.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3996, allocations: 314.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.3996, allocations: 19.92 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.3997, allocations: 49.16 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3998, allocations: 73.08 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3998, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000162/0.4, allocations: 93.77 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4, allocations: 8.125 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4, allocations: 4.438 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.4001, allocations: 23.92 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4001, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.4002, allocations: 15.94 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4002, allocations: 7.938 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.499e-05/0.4003, allocations: 118.3 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4003, allocations: 3.953 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.4003, allocations: 16.06 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4003, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4003, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4003, allocations: 7.922 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.4006, allocations: 140.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4006, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.4007, allocations: 15.98 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4007, allocations: 4 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4007, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4007, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4007, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4009, allocations: 179.4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.401, allocations: 7.953 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.401, allocations: 4.031 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4011, allocations: 8 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.4011, allocations: 7.938 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4011, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.4012, allocations: 83.27 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002413/0.4014, allocations: 12 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0006421/0.4021, allocations: 0.7046 MB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.4022, allocations: 40.14 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4022, allocations: 12 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.4022, allocations: 12 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.4026, allocations: 17.48 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4043, allocations: 1.532 MB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4047, allocations: 0.6807 MB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.886e-05/0.4048, allocations: 8 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4048, allocations: 19.42 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4048, allocations: 0 / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.4363, allocations: 1.815 MB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.15, allocations: 17.86 kB / 1.338 GB, free: 5.137 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.46937608100052]