Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.0007885/0.0007885, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009615/0.0009615, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.9092/0.9092, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.861/1.861, allocations: 0.5036 GB / 0.8087 GB, free: 3.336 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008376/0.0008376, allocations: 63.91 kB / 1.175 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7085, allocations: 180 MB / 1.351 GB, free: 2.285 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002304/0.7108, allocations: 1.314 MB / 1.352 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.7125, allocations: 1.486 MB / 1.353 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.7125, allocations: 4 kB / 1.353 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.7126, allocations: 3.938 kB / 1.353 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.7126, allocations: 11.91 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.7132, allocations: 207.1 kB / 1.354 GB, free: 15.24 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.7133, allocations: 51.77 kB / 1.354 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.7133, allocations: 3.938 kB / 1.354 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.7134, allocations: 19.94 kB / 1.354 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.7134, allocations: 15.92 kB / 1.354 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.7134, allocations: 4 kB / 1.354 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.7138, allocations: 219.6 kB / 1.354 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.7138, allocations: 4 kB / 1.354 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.7138, allocations: 15.92 kB / 1.354 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.7141, allocations: 173.6 kB / 1.354 GB, free: 14.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7141, allocations: 0 / 1.354 GB, free: 14.75 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7141, allocations: 0 / 1.354 GB, free: 14.75 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7141, allocations: 0 / 1.354 GB, free: 14.75 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003386/0.7144, allocations: 307.4 kB / 1.354 GB, free: 14.42 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7144, allocations: 12.03 kB / 1.354 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.7145, allocations: 38.73 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.7145, allocations: 8.891 kB / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.7146, allocations: 106.5 kB / 1.355 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.7146, allocations: 384 / 1.355 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.7147, allocations: 8.375 kB / 1.355 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.7148, allocations: 75.44 kB / 1.355 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7148, allocations: 0 / 1.355 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.7148, allocations: 8 kB / 1.355 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7148, allocations: 0 / 1.355 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.7149, allocations: 47.89 kB / 1.355 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.715, allocations: 141.6 kB / 1.355 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.7151, allocations: 73.11 kB / 1.355 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.7152, allocations: 25.77 kB / 1.355 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.7157, allocations: 260 kB / 1.355 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7157, allocations: 42.5 kB / 1.355 GB, free: 13.46 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.7157, allocations: 0 / 1.355 GB, free: 13.46 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001945/0.7159, allocations: 85.62 kB / 1.355 GB, free: 13.38 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.7159, allocations: 81.09 kB / 1.355 GB, free: 13.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.716, allocations: 93.86 kB / 1.356 GB, free: 13.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.716, allocations: 33.64 kB / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.716, allocations: 80.14 kB / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.7161, allocations: 35.72 kB / 1.356 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.7161, allocations: 29.61 kB / 1.356 GB, free: 12.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7162, allocations: 314.8 kB / 1.356 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.7162, allocations: 12.12 kB / 1.356 GB, free: 12.66 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.7163, allocations: 33.7 kB / 1.356 GB, free: 12.62 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.7163, allocations: 41.72 kB / 1.356 GB, free: 12.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7163, allocations: 0 / 1.356 GB, free: 12.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.914e-05/0.7164, allocations: 77.55 kB / 1.356 GB, free: 12.49 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7164, allocations: 8 kB / 1.356 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7164, allocations: 0 / 1.356 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7164, allocations: 0 / 1.356 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.7165, allocations: 15.94 kB / 1.356 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7165, allocations: 4 kB / 1.356 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.7165, allocations: 8.031 kB / 1.356 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.7165, allocations: 7.984 kB / 1.356 GB, free: 12.45 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 5.959e-05/0.7166, allocations: 109.8 kB / 1.356 GB, free: 12.33 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.7166, allocations: 11.89 kB / 1.356 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.7168, allocations: 98.12 kB / 1.356 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7168, allocations: 4 kB / 1.356 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7168, allocations: 3.984 kB / 1.356 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7168, allocations: 0 / 1.356 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.7169, allocations: 136.7 kB / 1.357 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7169, allocations: 3.984 kB / 1.357 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.7169, allocations: 19.97 kB / 1.357 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7169, allocations: 3.938 kB / 1.357 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7169, allocations: 8 kB / 1.357 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7169, allocations: 0 / 1.357 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7169, allocations: 80 / 1.357 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.717, allocations: 109.9 kB / 1.357 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.717, allocations: 19.88 kB / 1.357 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7171, allocations: 4 kB / 1.357 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.7171, allocations: 4 kB / 1.357 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.7171, allocations: 11.92 kB / 1.357 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.7171, allocations: 8 kB / 1.357 GB, free: 11.82 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.7171, allocations: 79.47 kB / 1.357 GB, free: 11.74 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7171, allocations: 0 / 1.357 GB, free: 11.74 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002108/0.7173, allocations: 79.67 kB / 1.357 GB, free: 11.66 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0004682/0.7178, allocations: 0.749 MB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.7179, allocations: 35.92 kB / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7179, allocations: 4.062 kB / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.7179, allocations: 23.98 kB / 1.358 GB, free: 10.82 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.7182, allocations: 24.19 kB / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.7189, allocations: 239.7 kB / 1.358 GB, free: 10.52 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.7189, allocations: 71.28 kB / 1.358 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.7189, allocations: 23.73 kB / 1.358 GB, free: 10.41 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.719, allocations: 15.44 kB / 1.358 GB, free: 10.39 MB / 1.042 GB Notification: Performance of SimCode: time 6.31e-07/0.719, allocations: 0 / 1.358 GB, free: 10.39 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.7379, allocations: 3.605 MB / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.126/6.864, allocations: 7.188 kB / 1.362 GB, free: 6.93 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.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: 11.051094638183713]