Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.0088/0.0088, allocations: 99.7 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 197.6 kB / 16.67 MB, free: 5.973 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 79.05 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2732, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00219/0.2754, allocations: 1.381 MB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.2787, allocations: 2.911 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.2787, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.512e-05/0.2788, allocations: 7.922 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2789, allocations: 39.81 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.2795, allocations: 183.1 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.2798, allocations: 247.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.2798, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.2799, allocations: 91.84 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2801, allocations: 119.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2801, allocations: 12 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.2804, allocations: 139.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.2805, allocations: 83.83 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.2806, allocations: 95.56 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.281, allocations: 263 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.281, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.281, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.281, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007571/0.2818, allocations: 0.53 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2818, allocations: 12.03 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.751e-05/0.2819, allocations: 54.73 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.282, allocations: 24.75 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2824, allocations: 232.1 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.2824, allocations: 24.36 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.2825, allocations: 12.38 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.2832, allocations: 300.8 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2832, allocations: 0 / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.2832, allocations: 12 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2832, allocations: 7.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.2846, allocations: 0.7452 MB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2849, allocations: 301.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2865, allocations: 0.6758 MB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.287, allocations: 229.3 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.2873, allocations: 396 kB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2874, allocations: 42.5 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 3.517e-06/0.2874, allocations: 3.938 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001512/0.2889, allocations: 0.6461 MB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.2889, allocations: 59.16 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.289, allocations: 122.1 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2891, allocations: 37.7 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.2891, allocations: 88.8 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.2892, allocations: 130.1 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.2893, allocations: 65.69 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.2894, allocations: 330.8 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.2899, allocations: 199.8 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.2903, allocations: 195.9 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.2912, allocations: 364.2 kB / 1.099 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2912, allocations: 0 / 1.099 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001006/0.2922, allocations: 469.2 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2922, allocations: 4 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2922, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2922, allocations: 8 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2926, allocations: 95.84 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2926, allocations: 0 / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2928, allocations: 43.81 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2928, allocations: 15.98 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001073/0.2929, allocations: 141.8 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.2929, allocations: 23.75 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.2941, allocations: 0.5188 MB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2941, allocations: 4 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2941, allocations: 0 / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2941, allocations: 3.984 kB / 1.1 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.2944, allocations: 321.2 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2944, allocations: 3.938 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.2947, allocations: 95.86 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2948, allocations: 0 / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.2948, allocations: 11.98 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2948, allocations: 0 / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.2948, allocations: 11.98 kB / 1.1 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2958, allocations: 0.4887 MB / 1.101 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2959, allocations: 100.8 kB / 1.101 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.2959, allocations: 12 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.2961, allocations: 43.89 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.2963, allocations: 115.8 kB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.2963, allocations: 15.98 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.2964, allocations: 96.02 kB / 1.101 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2964, allocations: 0 / 1.101 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003435/0.2968, allocations: 119.9 kB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.001457/0.2982, allocations: 1.119 MB / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.2993, allocations: 475.4 kB / 1.103 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2993, allocations: 0 / 1.103 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.2998, allocations: 263.7 kB / 1.103 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3002, allocations: 81.91 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.304, allocations: 2.674 MB / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3042, allocations: 0.7289 MB / 1.106 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.3046, allocations: 186.3 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3047, allocations: 63.41 kB / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.3047, allocations: 0 / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/0.4802, allocations: 7.537 MB / 1.114 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.627, allocations: 11.98 kB / 1.114 GB, free: 6.41 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,d[1],d[2],d[3],d[4],d[5],d[6],d[7],cp[1],cp[2],cp[3],cp[4],cp[5],cp[6],cp[7],lambda[1],lambda[2],lambda[3],lambda[4],lambda[5],lambda[6],lambda[7],eta[1],eta[2],eta[3],eta[4],eta[5],eta[6],eta[7] Variables in the result:T,T_degC,T_max,T_min,Tf[1],Tf[2],Tf[3],Tf[4],Tf[5],Tf[6],Tf[7],X_a[1],X_a[2],X_a[3],X_a[4],X_a[5],X_a[6],X_a[7],cp[1],cp[2],cp[3],cp[4],cp[5],cp[6],cp[7],d[1],d[2],d[3],d[4],d[5],d[6],d[7],eta[1],eta[2],eta[3],eta[4],eta[5],eta[6],eta[7],lambda[1],lambda[2],lambda[3],lambda[4],lambda[5],lambda[6],lambda[7],nX_a,reference_T,time