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.00151/0.00151, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001619/0.001619, allocations: 215.7 kB / 22.24 MB, free: 5.262 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.797 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.003/3.003, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] 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.001917/0.001917, allocations: 73.25 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 176.1 MB / 1.325 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002282/0.3347, allocations: 1.269 MB / 1.326 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.3385, allocations: 2.783 MB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.3385, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.3385, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.3386, allocations: 3.938 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.3391, allocations: 99.55 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.3391, allocations: 35.86 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3392, allocations: 11.97 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.3397, allocations: 175.7 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.3397, allocations: 19.91 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3397, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3399, allocations: 55.83 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.3399, allocations: 8 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3399, allocations: 23.91 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3401, allocations: 47.88 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3401, allocations: 7.938 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3401, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3401, allocations: 0 / 1.329 GB, free: 13.87 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.0003894/0.3405, allocations: 266.3 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3405, allocations: 16.03 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3405, allocations: 34.73 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.3406, allocations: 4.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/0.3407, allocations: 110.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3407, allocations: 4.375 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3407, allocations: 384 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3409, allocations: 146.6 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3409, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3409, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3409, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.3409, allocations: 23.98 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.3411, allocations: 140.6 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.3412, allocations: 50.48 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.3412, allocations: 12.86 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.3417, allocations: 246.1 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3418, allocations: 30.56 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3418, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005408/0.3423, allocations: 237.1 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3423, allocations: 51.41 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.3424, allocations: 109.7 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3425, allocations: 29.7 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3425, allocations: 88.09 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3425, allocations: 31.73 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3426, allocations: 29.64 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3427, allocations: 314.8 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.3427, allocations: 12 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.3428, allocations: 49.14 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.3429, allocations: 77.08 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3429, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001373/0.343, allocations: 97.55 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.343, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.343, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3431, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.3431, allocations: 23.92 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3431, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.3432, allocations: 8.062 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3432, allocations: 8 kB / 1.332 GB, free: 11.36 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 8.318e-05/0.3433, allocations: 114.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3433, allocations: 11.89 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.3433, allocations: 8.062 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3433, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3433, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3433, allocations: 3.938 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3436, allocations: 144.8 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3436, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.3437, allocations: 20 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3437, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3437, allocations: 7.922 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3437, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3437, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3439, allocations: 184.2 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.3439, allocations: 8.031 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3439, allocations: 3.938 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.344, allocations: 8 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.344, allocations: 12 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.344, allocations: 8 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.3441, allocations: 79.28 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3441, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002336/0.3443, allocations: 16 kB / 1.332 GB, free: 10.68 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.0004617/0.3448, allocations: 0.7007 MB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3449, allocations: 43.91 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3449, allocations: 4 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.3449, allocations: 12.23 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3452, allocations: 17.66 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3467, allocations: 1.536 MB / 1.334 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.3468, allocations: 67.34 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.3469, allocations: 16.03 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.3469, allocations: 11.44 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3469, allocations: 4 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3762, allocations: 2.193 MB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.05, allocations: 3.75 kB / 1.337 GB, free: 6.059 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: 17.347682050894946]