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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.75 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2384, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002892/0.2414, allocations: 1.27 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003782/0.2452, allocations: 2.938 MB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.2452, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.2453, allocations: 3.984 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.2453, allocations: 7.922 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.2459, allocations: 103.5 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.246, allocations: 35.84 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.246, allocations: 8 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.2465, allocations: 151.5 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.2466, allocations: 19.92 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2466, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.2468, allocations: 71.86 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2468, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.2469, allocations: 19.92 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.247, allocations: 68.08 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2471, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2471, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2471, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 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.0003734/0.2475, allocations: 339.5 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2475, allocations: 12.62 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.2475, allocations: 38.69 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2476, allocations: 12.84 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2477, allocations: 160.4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2477, allocations: 384 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2477, allocations: 8.375 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2479, allocations: 53.61 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2479, allocations: 4 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2479, allocations: 4 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2479, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.248, allocations: 23.91 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2481, allocations: 169.7 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.2482, allocations: 50.55 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.2483, allocations: 24.78 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/0.2489, allocations: 0.5945 MB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.249, allocations: 38.56 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.249, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005466/0.2495, allocations: 306.5 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.2496, allocations: 51.41 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.2496, allocations: 101.8 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2497, allocations: 29.7 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.2497, allocations: 84.05 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.2497, allocations: 35.55 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.2498, allocations: 29.7 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.2499, allocations: 310.8 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.2499, allocations: 12 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.25, allocations: 57.08 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-05/0.2501, allocations: 81.2 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2501, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001289/0.2502, allocations: 93.53 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2502, allocations: 4 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2502, allocations: 8.125 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2503, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.2503, allocations: 20.42 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2503, allocations: 4 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.2504, allocations: 7.938 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2504, allocations: 4 kB / 1.06 GB, free: 480 kB / 0.8106 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 6.91e-05/0.2505, allocations: 117.8 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2505, allocations: 11.91 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2505, allocations: 7.969 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2505, allocations: 4 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2506, allocations: 0 / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2506, allocations: 7.938 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.2508, allocations: 173.6 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2508, allocations: 4 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.2509, allocations: 15.98 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2509, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2509, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2509, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2509, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.2511, allocations: 183.4 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.2512, allocations: 85.02 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2512, allocations: 7.969 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2513, allocations: 4 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.2513, allocations: 7.938 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2513, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.2514, allocations: 83.27 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2514, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002298/0.2516, allocations: 20 kB / 1.061 GB, free: 15.66 MB / 0.8262 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.0004081/0.252, allocations: 0.7008 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2521, allocations: 48.16 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2522, allocations: 4 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.417e-05/0.2522, allocations: 15.94 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2525, allocations: 11.92 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2538, allocations: 1.524 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.254, allocations: 0.6885 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.2541, allocations: 8 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.2541, allocations: 15.44 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2541, allocations: 0 / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2768, allocations: 1.629 MB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.343, allocations: 17.14 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) 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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[5]=0.004000 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! " Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpSym),der(cvSym),der(hLiqCod),der(hLiqSym),hLiqCod,hLiqSym,time