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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 106.7 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8051, allocations: 160.7 MB / 1.213 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002506/0.8076, allocations: 1.392 MB / 1.214 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.8115, allocations: 2.937 MB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.8115, allocations: 3.938 kB / 1.217 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.899e-05/0.8116, allocations: 7.984 kB / 1.217 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.8117, allocations: 39.81 kB / 1.217 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.8123, allocations: 183.1 kB / 1.217 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.8126, allocations: 239.5 kB / 1.218 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.8126, allocations: 9.812 kB / 1.218 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.8127, allocations: 99.78 kB / 1.218 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.8129, allocations: 119.8 kB / 1.218 GB, free: 428 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.8129, allocations: 12 kB / 1.218 GB, free: 416 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.8133, allocations: 147.8 kB / 1.218 GB, free: 268 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.8134, allocations: 87.75 kB / 1.218 GB, free: 180 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.8135, allocations: 95.58 kB / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.8139, allocations: 271.1 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8139, allocations: 0 / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8139, allocations: 0 / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8139, allocations: 0 / 1.218 GB, free: 15.82 MB / 0.9356 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.0008514/0.8147, allocations: 0.5374 MB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8148, allocations: 8.625 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.8148, allocations: 50.75 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.8149, allocations: 24.78 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.8152, allocations: 236.1 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.8153, allocations: 24.36 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.8153, allocations: 20.38 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.8159, allocations: 290.6 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.816, allocations: 0 / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.816, allocations: 4 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.816, allocations: 4 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.8175, allocations: 0.749 MB / 1.22 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.8179, allocations: 309.2 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.8196, allocations: 0.6449 MB / 1.221 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.8201, allocations: 216.4 kB / 1.221 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.8206, allocations: 392.3 kB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.8206, allocations: 34.56 kB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.8206, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.00167/0.8223, allocations: 0.6576 MB / 1.222 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.8223, allocations: 55.41 kB / 1.222 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.8224, allocations: 124.1 kB / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.8224, allocations: 33.64 kB / 1.223 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.8225, allocations: 96.78 kB / 1.223 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.8226, allocations: 134.8 kB / 1.223 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8227, allocations: 65.67 kB / 1.223 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8229, allocations: 334.8 kB / 1.223 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.8233, allocations: 191.8 kB / 1.223 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.8238, allocations: 201 kB / 1.224 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.8247, allocations: 364.7 kB / 1.224 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8247, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001101/0.8258, allocations: 468.4 kB / 1.224 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8259, allocations: 14.8 kB / 1.224 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8259, allocations: 0 / 1.224 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8259, allocations: 0 / 1.224 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.8263, allocations: 95.86 kB / 1.225 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8263, allocations: 4 kB / 1.225 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.8264, allocations: 51.8 kB / 1.225 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.8265, allocations: 15.98 kB / 1.225 GB, free: 9.137 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.0001355/0.8266, allocations: 137.8 kB / 1.225 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.8267, allocations: 19.84 kB / 1.225 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.8279, allocations: 0.5102 MB / 1.225 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8279, allocations: 4 kB / 1.225 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8279, allocations: 0 / 1.225 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8279, allocations: 7.984 kB / 1.225 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.8283, allocations: 313.3 kB / 1.226 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8283, allocations: 3.938 kB / 1.226 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.8286, allocations: 99.84 kB / 1.226 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8286, allocations: 0 / 1.226 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.8287, allocations: 8 kB / 1.226 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.8287, allocations: 8 kB / 1.226 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8287, allocations: 0 / 1.226 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.8298, allocations: 0.5004 MB / 1.226 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.8299, allocations: 104.8 kB / 1.226 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.8299, allocations: 7.984 kB / 1.226 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8301, allocations: 35.97 kB / 1.226 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.8303, allocations: 119.8 kB / 1.226 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.8303, allocations: 8 kB / 1.226 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.8304, allocations: 114.6 kB / 1.227 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8304, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003771/0.8308, allocations: 115.8 kB / 1.227 GB, free: 6.938 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.00166/0.8324, allocations: 1.123 MB / 1.228 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.8335, allocations: 463.6 kB / 1.228 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8335, allocations: 0 / 1.228 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.8341, allocations: 243.7 kB / 1.228 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.8345, allocations: 79.91 kB / 1.228 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.8388, allocations: 2.677 MB / 1.231 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.8392, allocations: 0.7443 MB / 1.232 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000424/0.8396, allocations: 178 kB / 1.232 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.8397, allocations: 71.39 kB / 1.232 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/0.8397, allocations: 0 / 1.232 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.8713, allocations: 7.472 MB / 1.239 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/9.501, allocations: 4.688 kB / 1.239 GB, free: 9.926 MB / 0.9512 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 15.364737902302295]