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.001489/0.001489, 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.001535/0.001535, allocations: 215.3 kB / 22.25 MB, free: 5.121 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.004 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.97/2.97, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_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.002071/0.002071, allocations: 63.08 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3603, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002606/0.3629, allocations: 1.29 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.3674, allocations: 3.011 MB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.3674, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.3674, allocations: 3.938 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.3675, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.3681, allocations: 115.5 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.3682, allocations: 31.86 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3682, allocations: 7.984 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.3688, allocations: 194.9 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.3689, allocations: 11.92 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3689, allocations: 7.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.369, allocations: 71.8 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3691, allocations: 12 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.3691, allocations: 19.92 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3693, allocations: 63.8 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3693, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3693, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3693, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 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.0004716/0.3698, allocations: 272.3 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3698, allocations: 12.03 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.3699, allocations: 34.75 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.3699, allocations: 8.938 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.37, allocations: 106.5 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.37, allocations: 4.375 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.37, allocations: 8.359 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3702, allocations: 53.56 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3702, allocations: 7.984 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3702, allocations: 7.938 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3702, allocations: 0 / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.3703, allocations: 15.98 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.3704, allocations: 144.7 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3705, allocations: 50.55 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.3706, allocations: 8.859 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.3711, allocations: 245.8 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3712, allocations: 42.56 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005877/0.3718, allocations: 225.4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3718, allocations: 55.41 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.3719, allocations: 105.8 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3719, allocations: 29.7 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.372, allocations: 84.09 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.372, allocations: 35.73 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.372, allocations: 25.72 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3722, allocations: 314.8 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.3722, allocations: 12 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.3723, allocations: 57.08 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3724, allocations: 77.08 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3724, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001398/0.3725, allocations: 85.56 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3725, allocations: 11.98 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3725, allocations: 8.062 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3726, allocations: 3.938 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.3726, allocations: 23.94 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3726, allocations: 0 / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.3727, allocations: 11.94 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3727, allocations: 4 kB / 1.29 GB, free: 4.371 MB / 0.9825 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.886e-05/0.3728, allocations: 117.8 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3728, allocations: 7.953 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.3728, allocations: 8.062 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3729, allocations: 8 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3729, allocations: 0 / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3729, allocations: 3.938 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3731, allocations: 140.7 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3731, allocations: 0 / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.3732, allocations: 19.94 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3732, allocations: 3.984 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3732, allocations: 4 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3732, allocations: 448 / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3732, allocations: 0 / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3734, allocations: 171.5 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3734, allocations: 11.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3735, allocations: 4 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3736, allocations: 8 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.3736, allocations: 7.922 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3736, allocations: 4 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.3736, allocations: 75.66 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002364/0.3739, allocations: 20 kB / 1.291 GB, free: 3.695 MB / 0.9825 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.0005269/0.3744, allocations: 0.7087 MB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3745, allocations: 44.19 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3745, allocations: 4 kB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.3746, allocations: 19.94 kB / 1.291 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3749, allocations: 7.938 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3765, allocations: 1.525 MB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3768, allocations: 0.6884 MB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.3768, allocations: 8 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3769, allocations: 19.42 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3769, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4092, allocations: 1.82 MB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.39, allocations: 6.344 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.261374141089618]