Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_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.006025/0.006025, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.00144/0.00144, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002304/0.3072, allocations: 1.389 MB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.3107, allocations: 2.921 MB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.3107, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.3108, allocations: 7.922 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3109, allocations: 35.81 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.3115, allocations: 183.1 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3118, allocations: 239.5 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3118, allocations: 8 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3119, allocations: 95.83 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3121, allocations: 123.7 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.3121, allocations: 8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.3125, allocations: 139.9 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.3126, allocations: 91.75 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.3127, allocations: 83.66 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.3131, allocations: 278.9 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3131, allocations: 0 / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3131, allocations: 0 / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3131, allocations: 7.938 kB / 1.172 GB, free: 1.695 MB / 0.92 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.0007697/0.3139, allocations: 0.5339 MB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3139, allocations: 11.97 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.314, allocations: 46.73 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3141, allocations: 24.75 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3143, allocations: 232.1 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.3144, allocations: 24.36 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3144, allocations: 16.36 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.315, allocations: 289 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.315, allocations: 7.984 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.315, allocations: 12 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3151, allocations: 4 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3164, allocations: 0.7452 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3168, allocations: 305 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.3183, allocations: 0.6798 MB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.3187, allocations: 228.7 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.3191, allocations: 392.3 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3192, allocations: 42.5 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.734e-06/0.3192, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001467/0.3206, allocations: 0.6498 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3207, allocations: 55.41 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.3208, allocations: 122.1 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3208, allocations: 33.69 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.3209, allocations: 96.8 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.321, allocations: 126.1 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.3211, allocations: 65.67 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3212, allocations: 330.8 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.3216, allocations: 195.8 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.3221, allocations: 197 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.3229, allocations: 368.6 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3229, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009671/0.3238, allocations: 468.3 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3239, allocations: 4 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3239, allocations: 4 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3239, allocations: 0 / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.3242, allocations: 103.9 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3243, allocations: 0 / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3244, allocations: 51.73 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.3245, allocations: 15.98 kB / 1.178 GB, free: 10.98 MB / 0.9356 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.0001136/0.3246, allocations: 137.8 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3246, allocations: 27.69 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3258, allocations: 0.5216 MB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3258, allocations: 4 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3258, allocations: 7.984 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3258, allocations: 0 / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3261, allocations: 305.3 kB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3261, allocations: 3.938 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.3264, allocations: 99.84 kB / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.3264, allocations: 3.984 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3265, allocations: 12 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3265, allocations: 4 kB / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3265, allocations: 3.984 kB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.3275, allocations: 0.4887 MB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.3275, allocations: 104.8 kB / 1.18 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3276, allocations: 8 kB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3277, allocations: 31.97 kB / 1.18 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.3279, allocations: 123.8 kB / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.328, allocations: 12 kB / 1.18 GB, free: 9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.328, allocations: 99.25 kB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.328, allocations: 0 / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003672/0.3284, allocations: 115.9 kB / 1.18 GB, free: 8.789 MB / 0.9356 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.001561/0.33, allocations: 1.123 MB / 1.181 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.331, allocations: 471.6 kB / 1.181 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.331, allocations: 4 kB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.3315, allocations: 263.7 kB / 1.182 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3319, allocations: 71.86 kB / 1.182 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.3359, allocations: 2.673 MB / 1.184 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3362, allocations: 0.7367 MB / 1.185 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000406/0.3366, allocations: 180.8 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3368, allocations: 71.33 kB / 1.185 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3368, allocations: 0 / 1.185 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.3618, allocations: 7.431 MB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.402, allocations: 7.891 kB / 1.193 GB, free: 11.81 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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