Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.004576/0.004576, allocations: 102 kB / 15.73 MB, free: 6.035 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.001055/0.001055, allocations: 199.7 kB / 16.68 MB, free: 5.957 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 62.41 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002529/0.2984, allocations: 1.393 MB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.3022, allocations: 2.915 MB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.3022, allocations: 0 / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.965e-05/0.3024, allocations: 3.938 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3025, allocations: 43.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.3032, allocations: 183.1 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.3034, allocations: 243.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.3035, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3036, allocations: 95.84 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3038, allocations: 123.7 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.3039, allocations: 8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.3043, allocations: 135.9 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3044, allocations: 87.81 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3046, allocations: 99.56 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.305, allocations: 267 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.305, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.305, allocations: 3.938 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.305, allocations: 0 / 1.093 GB, free: 12.44 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.0009132/0.306, allocations: 0.5339 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.306, allocations: 12.03 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.3061, allocations: 46.73 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3062, allocations: 20.75 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3065, allocations: 237.7 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.3066, allocations: 24.36 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3066, allocations: 12.38 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3073, allocations: 304.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3073, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3073, allocations: 8 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3074, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.3089, allocations: 0.7452 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.3092, allocations: 305.3 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3109, allocations: 0.6758 MB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.3115, allocations: 229.3 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.3119, allocations: 400 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3119, allocations: 38.5 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/0.3119, allocations: 7.922 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001664/0.3136, allocations: 0.6422 MB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3137, allocations: 63.16 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.3138, allocations: 126.1 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3138, allocations: 29.7 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3139, allocations: 92.8 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.314, allocations: 126.1 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.3141, allocations: 61.69 kB / 1.097 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3142, allocations: 338.8 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.3147, allocations: 191.8 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.3152, allocations: 203.8 kB / 1.098 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.3161, allocations: 360.3 kB / 1.099 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3161, allocations: 4 kB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001114/0.3172, allocations: 465.2 kB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3172, allocations: 4 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3172, allocations: 0 / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3173, allocations: 4 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3177, allocations: 99.84 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3177, allocations: 0 / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3179, allocations: 47.81 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.3179, allocations: 15.98 kB / 1.099 GB, free: 5.734 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.0001463/0.3181, allocations: 141.8 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3181, allocations: 19.75 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.3194, allocations: 0.5159 MB / 1.1 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3194, allocations: 4 kB / 1.1 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3194, allocations: 4 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3194, allocations: 4 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.3197, allocations: 313.2 kB / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/0.3198, allocations: 7.922 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.3201, allocations: 99.86 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3201, allocations: 3.938 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3201, allocations: 11.98 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3202, allocations: 4 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3202, allocations: 0 / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3213, allocations: 0.4887 MB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.3214, allocations: 100.8 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.3214, allocations: 11.94 kB / 1.101 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3216, allocations: 39.95 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.3219, allocations: 115.8 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3219, allocations: 11.98 kB / 1.101 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.322, allocations: 99.27 kB / 1.101 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.322, allocations: 3.938 kB / 1.101 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003762/0.3224, allocations: 115.9 kB / 1.101 GB, free: 3.539 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.001678/0.324, allocations: 1.115 MB / 1.102 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.3252, allocations: 475.4 kB / 1.103 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3252, allocations: 0 / 1.103 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.3258, allocations: 263.7 kB / 1.103 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3262, allocations: 75.86 kB / 1.103 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.3303, allocations: 2.677 MB / 1.106 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3306, allocations: 0.7289 MB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004319/0.3311, allocations: 190.4 kB / 1.107 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3312, allocations: 67.41 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/0.3312, allocations: 0 / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.3578, allocations: 7.533 MB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.899, allocations: 14.17 kB / 1.114 GB, free: 6.453 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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