Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PropyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_10_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.008214/0.008214, allocations: 101 kB / 15.73 MB, free: 6.047 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.001468/0.001468, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.739/2.739, allocations: 437 MB / 0.7105 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00318/0.3162, allocations: 1.385 MB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.3212, allocations: 2.917 MB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.3214, allocations: 3.938 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3215, allocations: 7.984 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3217, allocations: 35.81 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.3225, allocations: 187.1 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.3228, allocations: 235.5 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3229, allocations: 4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.323, allocations: 99.77 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3233, allocations: 119.8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.3234, allocations: 19.94 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.3239, allocations: 135.9 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.324, allocations: 91.75 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3241, allocations: 87.64 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.3247, allocations: 275 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3247, allocations: 0 / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3247, allocations: 0 / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3248, allocations: 0 / 1.172 GB, free: 1.688 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.000992/0.3258, allocations: 0.5378 MB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3258, allocations: 8.031 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.3259, allocations: 50.73 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.326, allocations: 20.69 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3264, allocations: 236.1 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3265, allocations: 24.36 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.3265, allocations: 16.38 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.3271, allocations: 289.1 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3272, allocations: 0 / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3272, allocations: 7.984 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3272, allocations: 4 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3286, allocations: 0.749 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3291, allocations: 317 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3308, allocations: 0.672 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.3313, allocations: 232.7 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/0.3318, allocations: 392.3 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3318, allocations: 38.56 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.345e-06/0.3318, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001642/0.3335, allocations: 0.6536 MB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3335, allocations: 55.41 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3337, allocations: 133 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3337, allocations: 29.7 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.3338, allocations: 92.8 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3339, allocations: 130.1 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.334, allocations: 61.69 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3342, allocations: 334.8 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3346, allocations: 195.8 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.3351, allocations: 197 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.336, allocations: 364.7 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.336, allocations: 4 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001105/0.3371, allocations: 468.2 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.3372, allocations: 8 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3372, allocations: 0 / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.3372, allocations: 0 / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3376, allocations: 95.86 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3376, allocations: 8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3378, allocations: 47.8 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3379, allocations: 15.98 kB / 1.178 GB, free: 10.97 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.000132/0.338, allocations: 141.7 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.3381, allocations: 19.75 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3394, allocations: 0.514 MB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.3394, allocations: 7.984 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3394, allocations: 0 / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3394, allocations: 4 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3398, allocations: 305.3 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3398, allocations: 3.938 kB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.3401, allocations: 99.84 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.3401, allocations: 4 kB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.3402, allocations: 8 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3402, allocations: 3.984 kB / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3402, allocations: 7.922 kB / 1.179 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3413, allocations: 0.4926 MB / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3414, allocations: 104.8 kB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.3414, allocations: 4 kB / 1.18 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3416, allocations: 35.97 kB / 1.18 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.3418, allocations: 119.8 kB / 1.18 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3419, allocations: 11.98 kB / 1.18 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001507/0.342, allocations: 103.3 kB / 1.18 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.342, allocations: 4 kB / 1.18 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004184/0.3424, allocations: 111.9 kB / 1.18 GB, free: 8.781 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.001659/0.3441, allocations: 1.123 MB / 1.181 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.3452, allocations: 475.6 kB / 1.181 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3452, allocations: 3.938 kB / 1.181 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.3458, allocations: 259.7 kB / 1.182 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3463, allocations: 77.58 kB / 1.182 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.3506, allocations: 2.67 MB / 1.184 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3511, allocations: 0.7443 MB / 1.185 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004342/0.3515, allocations: 184.3 kB / 1.185 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3517, allocations: 63.41 kB / 1.185 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/0.3517, allocations: 4 kB / 1.185 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.3807, allocations: 7.433 MB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.454, allocations: 11.11 kB / 1.193 GB, free: 11.79 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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