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.00138/0.00138, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.00148/0.00148, allocations: 222.3 kB / 22.24 MB, free: 5.098 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 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.142/3.142, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001971/0.001971, allocations: 69.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3992, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002592/0.4018, allocations: 1.269 MB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.4061, allocations: 2.776 MB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.4061, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.4061, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.4062, allocations: 7.922 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.4067, allocations: 103.5 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.4068, allocations: 39.83 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.4068, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.4074, allocations: 195.6 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.4074, allocations: 11.92 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4074, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4076, allocations: 51.89 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.4076, allocations: 11.97 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.4076, allocations: 11.94 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.4078, allocations: 59.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4078, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4078, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.4078, allocations: 4 kB / 1.33 GB, free: 12.88 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.000452/0.4083, allocations: 274.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4083, allocations: 8.031 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.4083, allocations: 42.69 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.4084, allocations: 0.9375 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4085, allocations: 106.5 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.4085, allocations: 384 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.4085, allocations: 8.375 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.4087, allocations: 130.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4087, allocations: 3.984 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4087, allocations: 8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4087, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.4088, allocations: 19.97 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.409, allocations: 144.6 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4091, allocations: 50.55 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.4091, allocations: 12.86 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.4097, allocations: 246.1 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4098, allocations: 34.56 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.4098, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006354/0.4104, allocations: 241.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4104, allocations: 55.41 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.4105, allocations: 105.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.4106, allocations: 29.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.4106, allocations: 88.09 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.4106, allocations: 27.75 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4107, allocations: 29.7 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4108, allocations: 310.8 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.4109, allocations: 15.98 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.4109, allocations: 53.14 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.411, allocations: 73.09 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.411, allocations: 3.938 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001407/0.4112, allocations: 89.55 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4112, allocations: 8 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4112, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4112, allocations: 4 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.4113, allocations: 19.98 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4113, allocations: 4.125 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.4113, allocations: 11.94 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4113, allocations: 4 kB / 1.332 GB, free: 10.37 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 0.000121/0.4115, allocations: 118.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.4115, allocations: 3.953 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.4115, allocations: 16.33 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4115, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.4115, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4115, allocations: 7.922 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4118, allocations: 140.8 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4118, allocations: 4 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.4119, allocations: 23.98 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4119, allocations: 3.938 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4119, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4119, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4119, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4121, allocations: 179.4 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.4121, allocations: 4 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4121, allocations: 0 / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4122, allocations: 4 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.4123, allocations: 11.97 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.4123, allocations: 4 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.4123, allocations: 79.28 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4123, allocations: 0 / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002399/0.4126, allocations: 16 kB / 1.333 GB, free: 9.703 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.0005271/0.4131, allocations: 0.7202 MB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.4132, allocations: 35.92 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4132, allocations: 0 / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.4132, allocations: 20.25 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.4136, allocations: 9.969 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.4152, allocations: 1.534 MB / 1.335 GB, free: 7.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.142e-05/0.4153, allocations: 67.33 kB / 1.335 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.4154, allocations: 8.062 kB / 1.335 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.4154, allocations: 15.44 kB / 1.335 GB, free: 7.141 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.4154, allocations: 0 / 1.335 GB, free: 7.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.4494, allocations: 2.238 MB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.55, allocations: 9.062 kB / 1.338 GB, free: 5.039 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 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.mat","/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(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.1903518899926]