Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 209 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.28 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 169.9 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002774/0.3173, allocations: 1.422 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.3215, allocations: 2.994 MB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.3215, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.234e-05/0.3216, allocations: 7.938 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3217, allocations: 43.8 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.3223, allocations: 191.2 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.3226, allocations: 243.5 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3227, allocations: 7.516 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3228, allocations: 91.86 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.323, allocations: 135.7 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.323, allocations: 8 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.3235, allocations: 147.8 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3236, allocations: 91.75 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3237, allocations: 91.64 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3241, allocations: 279.1 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3241, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3241, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3241, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 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.0008448/0.325, allocations: 473.1 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.325, allocations: 12.03 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.3251, allocations: 46.73 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3253, allocations: 20.84 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3256, allocations: 178.2 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.3256, allocations: 24.36 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.3256, allocations: 24.34 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.3264, allocations: 290.8 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3264, allocations: 0 / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3264, allocations: 4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3264, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.328, allocations: 0.7488 MB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.3285, allocations: 280.4 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.3302, allocations: 0.641 MB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.3307, allocations: 216.7 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.331, allocations: 88.8 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.331, allocations: 42.5 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.331, allocations: 0 / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001639/0.3327, allocations: 0.6448 MB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3327, allocations: 59.39 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3328, allocations: 127.2 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3329, allocations: 37.64 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.3329, allocations: 88.78 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.333, allocations: 130.9 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.3331, allocations: 69.67 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3333, allocations: 326.8 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.3338, allocations: 199.5 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.3342, allocations: 197 kB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.3352, allocations: 368.6 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3352, allocations: 0 / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001076/0.3362, allocations: 460.9 kB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3363, allocations: 8 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3363, allocations: 0 / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3363, allocations: 4 kB / 1.295 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.3366, allocations: 103.8 kB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3366, allocations: 0 / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3368, allocations: 51.78 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3369, allocations: 12 kB / 1.295 GB, free: 15.95 MB / 0.9981 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.0001316/0.337, allocations: 141.8 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.337, allocations: 23.8 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3383, allocations: 0.5224 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3383, allocations: 4 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3383, allocations: 0 / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3383, allocations: 7.969 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.3386, allocations: 280.4 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3386, allocations: 7.938 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.339, allocations: 99.86 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.339, allocations: 0 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.339, allocations: 11.98 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.339, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.339, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3401, allocations: 0.4886 MB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3401, allocations: 23.72 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3402, allocations: 8 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3403, allocations: 39.95 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.3406, allocations: 123.8 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3406, allocations: 8 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.3407, allocations: 106.9 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3407, allocations: 0 / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003826/0.3411, allocations: 115.8 kB / 1.297 GB, free: 13.88 MB / 0.9981 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.001687/0.3427, allocations: 1.127 MB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.3439, allocations: 459.2 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3439, allocations: 0 / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.3444, allocations: 252.3 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3448, allocations: 75.92 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.3493, allocations: 2.684 MB / 1.301 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3497, allocations: 0.7328 MB / 1.302 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.3501, allocations: 178.7 kB / 1.302 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3503, allocations: 67.39 kB / 1.302 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/0.3503, allocations: 4 kB / 1.302 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.3878, allocations: 7.791 MB / 1.31 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 3.984 kB / 1.31 GB, free: 0.6016 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.689497489947826]