Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00149/0.00149, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001614/0.001614, allocations: 209.7 kB / 22.24 MB, free: 4.859 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.32/1.32, allocations: 230.7 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.926/2.926, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.001933/0.001933, allocations: 68.08 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002222/0.2904, allocations: 1.278 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.2941, allocations: 2.773 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.2941, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.2941, allocations: 3.938 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.2941, allocations: 11.97 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.2946, allocations: 91.56 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.2947, allocations: 43.84 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 2.829e-05/0.2947, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.2952, allocations: 187.7 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.2953, allocations: 19.91 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2953, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2954, allocations: 55.83 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.2954, allocations: 7.984 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2954, allocations: 15.94 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2956, allocations: 59.8 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2956, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2956, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2956, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 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.0003623/0.296, allocations: 270.3 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.296, allocations: 12.03 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.296, allocations: 30.75 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.2961, allocations: 8.891 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.2961, allocations: 106.5 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2962, allocations: 4.375 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2962, allocations: 4.375 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2963, allocations: 142.6 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2963, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2964, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2964, allocations: 4 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.2964, allocations: 23.97 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2966, allocations: 140.7 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.2967, allocations: 42.56 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.2967, allocations: 16.8 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.2972, allocations: 249.8 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2973, allocations: 34.56 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2973, allocations: 0 / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005315/0.2978, allocations: 229.8 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2978, allocations: 59.41 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2979, allocations: 105.8 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2979, allocations: 29.7 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.298, allocations: 88.03 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.298, allocations: 27.75 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.2981, allocations: 29.7 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2982, allocations: 314.8 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.2982, allocations: 15.98 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.2983, allocations: 53.08 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.2984, allocations: 73.09 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2984, allocations: 4 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001419/0.2985, allocations: 93.5 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2985, allocations: 4 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2985, allocations: 4 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2985, allocations: 0 / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.2986, allocations: 24.05 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2986, allocations: 8 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.2987, allocations: 7.938 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2987, allocations: 4 kB / 1.37 GB, free: 7.023 MB / 1.061 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.336e-05/0.2988, allocations: 113.8 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2988, allocations: 8.219 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2988, allocations: 8.062 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2988, allocations: 7.969 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2988, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2988, allocations: 7.938 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2991, allocations: 136.8 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2991, allocations: 4 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.2991, allocations: 19.92 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2991, allocations: 0 / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2992, allocations: 4 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2992, allocations: 4 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2992, allocations: 0 / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.2993, allocations: 175.4 kB / 1.37 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.2994, allocations: 4 kB / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2994, allocations: 0 / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.2995, allocations: 4 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2995, allocations: 11.97 kB / 1.37 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2995, allocations: 8 kB / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.2995, allocations: 79.28 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.2995, allocations: 3.938 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002275/0.2998, allocations: 12 kB / 1.371 GB, free: 6.355 MB / 1.061 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.0004704/0.3002, allocations: 0.7086 MB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3004, allocations: 47.91 kB / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.3004, allocations: 256 / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.3004, allocations: 20.17 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3006, allocations: 7.938 kB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3021, allocations: 1.532 MB / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.11e-05/0.3022, allocations: 71.33 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3022, allocations: 8.062 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.3022, allocations: 15.44 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3022, allocations: 0 / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3303, allocations: 2.212 MB / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.973/10.3, allocations: 3.141 kB / 1.375 GB, free: 1.719 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.225882425904274]