Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001884/0.001884, allocations: 116.1 kB / 17.17 MB, free: 6 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.002752/0.002752, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.648/1.648, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.879/2.879, allocations: 476.7 MB / 0.7678 GB, free: 9.449 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.002383/0.002383, allocations: 71.89 kB / 1.113 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.105, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00304/1.108, allocations: 1.295 MB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005512/1.113, allocations: 2.975 MB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/1.113, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/1.113, allocations: 8.672 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/1.113, allocations: 2.016 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/1.114, allocations: 111.5 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/1.114, allocations: 40.34 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/1.114, allocations: 1.938 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/1.115, allocations: 163.9 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/1.115, allocations: 22.48 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/1.115, allocations: 2.469 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/1.115, allocations: 64.91 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/1.115, allocations: 6.844 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/1.115, allocations: 21.55 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/1.115, allocations: 57.05 kB / 1.284 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.115, allocations: 5.281 kB / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.115, allocations: 0 / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.115, allocations: 0 / 1.284 GB, free: 8.492 MB / 0.9981 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.0005898/1.116, allocations: 358.2 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.116, allocations: 10.47 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.732e-05/1.116, allocations: 192 / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/1.116, allocations: 38.5 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/1.116, allocations: 3.219 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/1.116, allocations: 166.8 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.116, allocations: 1.656 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/1.116, allocations: 12.5 kB / 1.284 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.117, allocations: 53.67 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.117, allocations: 0.6562 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.117, allocations: 1.281 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.117, allocations: 0 / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/1.117, allocations: 20.62 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/1.117, allocations: 166.6 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/1.117, allocations: 47.27 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/1.117, allocations: 24.58 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/1.118, allocations: 0.596 MB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.118, allocations: 31.97 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/1.118, allocations: 4 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007785/1.119, allocations: 300.2 kB / 1.285 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.119, allocations: 53.2 kB / 1.285 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.119, allocations: 108.6 kB / 1.285 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.119, allocations: 26.55 kB / 1.286 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/1.119, allocations: 93.28 kB / 1.286 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/1.119, allocations: 26.03 kB / 1.286 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/1.119, allocations: 27.7 kB / 1.286 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.119, allocations: 322.2 kB / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/1.119, allocations: 14.08 kB / 1.286 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/1.119, allocations: 51.86 kB / 1.286 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/1.12, allocations: 73 kB / 1.286 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.12, allocations: 0 / 1.286 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001692/1.12, allocations: 95.47 kB / 1.286 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.12, allocations: 5.375 kB / 1.286 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.12, allocations: 1.438 kB / 1.286 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.12, allocations: 7.547 kB / 1.286 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/1.12, allocations: 22 kB / 1.286 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.12, allocations: 11.55 kB / 1.286 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/1.12, allocations: 1.438 kB / 1.286 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.12, allocations: 4.031 kB / 1.286 GB, free: 5.754 MB / 0.9981 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.0001077/1.12, allocations: 117 kB / 1.286 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/1.12, allocations: 7.234 kB / 1.286 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/1.12, allocations: 14.02 kB / 1.286 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.12, allocations: 5.438 kB / 1.286 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.12, allocations: 3.938 kB / 1.286 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.12, allocations: 0.7969 kB / 1.286 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/1.12, allocations: 177.7 kB / 1.287 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.12, allocations: 0 / 1.287 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/1.12, allocations: 19.48 kB / 1.287 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.121, allocations: 0 / 1.287 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/1.121, allocations: 2 kB / 1.287 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.121, allocations: 0 / 1.287 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.121, allocations: 6.047 kB / 1.287 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/1.121, allocations: 167.6 kB / 1.287 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/1.121, allocations: 88.58 kB / 1.287 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/1.121, allocations: 1.922 kB / 1.287 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.121, allocations: 4.234 kB / 1.287 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/1.121, allocations: 6.844 kB / 1.287 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/1.121, allocations: 6.688 kB / 1.287 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.883e-05/1.121, allocations: 83.41 kB / 1.287 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.121, allocations: 3.938 kB / 1.287 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002484/1.121, allocations: 14.84 kB / 1.287 GB, free: 5.066 MB / 0.9981 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.0006126/1.122, allocations: 0.7036 MB / 1.288 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001497/1.122, allocations: 48.38 kB / 1.288 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.122, allocations: 5.5 kB / 1.288 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/1.122, allocations: 15.94 kB / 1.288 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/1.122, allocations: 11.59 kB / 1.288 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/1.124, allocations: 1.53 MB / 1.289 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/1.125, allocations: 0.6832 MB / 1.29 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.203e-05/1.125, allocations: 9.031 kB / 1.29 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/1.125, allocations: 12.58 kB / 1.29 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.125, allocations: 0 / 1.29 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/1.148, allocations: 1.731 MB / 1.292 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/9.571, allocations: 12.62 kB / 1.292 GB, free: 1.777 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.21870145801222]