Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.008046/0.008046, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001756/0.001756, allocations: 194.6 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002292/0.2942, allocations: 1.386 MB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.2976, allocations: 2.918 MB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.2977, allocations: 0 / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.578e-05/0.2978, allocations: 7.922 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2979, allocations: 43.81 kB / 1.212 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.2985, allocations: 187.1 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.2987, allocations: 243.5 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.2988, allocations: 4 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2989, allocations: 95.83 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.299, allocations: 123.7 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.2991, allocations: 12 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.2995, allocations: 139.8 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.2996, allocations: 87.81 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.2997, allocations: 91.59 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3, allocations: 275.6 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3, allocations: 0 / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3, allocations: 0 / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3, allocations: 3.938 kB / 1.213 GB, free: 4.559 MB / 0.9669 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.0008475/0.3009, allocations: 0.5223 MB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3009, allocations: 8.625 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.301, allocations: 54.67 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3011, allocations: 20.73 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3014, allocations: 240 kB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.3014, allocations: 20.36 kB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3015, allocations: 16.38 kB / 1.214 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.3021, allocations: 297 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3021, allocations: 0 / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3022, allocations: 4 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3022, allocations: 4 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.3037, allocations: 0.7506 MB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.3041, allocations: 313 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3058, allocations: 0.6754 MB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.3063, allocations: 224.7 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.3067, allocations: 400.3 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3068, allocations: 42.5 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/0.3068, allocations: 0 / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001695/0.3085, allocations: 0.6534 MB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3085, allocations: 59.41 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3087, allocations: 130 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3087, allocations: 33.7 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.3087, allocations: 88.78 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.3088, allocations: 122.2 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3089, allocations: 69.67 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3091, allocations: 326.8 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.3096, allocations: 195.8 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.3101, allocations: 199.7 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.311, allocations: 365.9 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.311, allocations: 0 / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001117/0.3122, allocations: 464.6 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3122, allocations: 8 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3122, allocations: 0 / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3122, allocations: 3.984 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3126, allocations: 99.86 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3126, allocations: 0 / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3128, allocations: 43.8 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3128, allocations: 19.98 kB / 1.219 GB, free: 13.86 MB / 0.9825 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.000113/0.313, allocations: 137.8 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.313, allocations: 19.75 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3142, allocations: 0.52 MB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3142, allocations: 4 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3143, allocations: 3.938 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3143, allocations: 3.984 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.3146, allocations: 309.3 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3146, allocations: 3.938 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.3149, allocations: 99.86 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.315, allocations: 4 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.315, allocations: 11.98 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.315, allocations: 0 / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.315, allocations: 0 / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3161, allocations: 0.4883 MB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.3162, allocations: 96.8 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3162, allocations: 8 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.3164, allocations: 43.89 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.3167, allocations: 119.8 kB / 1.221 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3167, allocations: 16 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.3168, allocations: 99.25 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3168, allocations: 3.938 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003767/0.3171, allocations: 111.9 kB / 1.221 GB, free: 11.68 MB / 0.9825 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.001602/0.3188, allocations: 1.123 MB / 1.222 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.3199, allocations: 471.3 kB / 1.223 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3199, allocations: 0 / 1.223 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.3205, allocations: 260.6 kB / 1.223 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3209, allocations: 75.92 kB / 1.223 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.3251, allocations: 2.677 MB / 1.225 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3253, allocations: 0.7328 MB / 1.226 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.3257, allocations: 188 kB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3259, allocations: 67.39 kB / 1.226 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3259, allocations: 4.188 kB / 1.226 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3483, allocations: 7.539 MB / 1.234 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.234, allocations: 4.375 kB / 1.234 GB, free: 14.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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