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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 105.4 kB / 16.45 MB, free: 6.445 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.001314/0.001314, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002252/1.009, allocations: 1.389 MB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002995/1.012, allocations: 2.934 MB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/1.013, allocations: 2.906 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/1.013, allocations: 10.64 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/1.013, allocations: 42.8 kB / 1.308 GB, free: 28.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/1.013, allocations: 189.9 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/1.014, allocations: 238.2 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/1.014, allocations: 4.703 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/1.014, allocations: 93.58 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/1.014, allocations: 123.1 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/1.014, allocations: 11.12 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/1.014, allocations: 148.7 kB / 1.309 GB, free: 28.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/1.014, allocations: 90.42 kB / 1.309 GB, free: 28.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/1.014, allocations: 88.27 kB / 1.309 GB, free: 28.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/1.015, allocations: 274.7 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.015, allocations: 3.328 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.054e-06/1.015, allocations: 0 / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.015, allocations: 0 / 1.309 GB, free: 28.54 MB / 1.061 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.0007238/1.015, allocations: 0.5381 MB / 1.31 GB, free: 28.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.015, allocations: 8.719 kB / 1.31 GB, free: 28.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/1.015, allocations: 55.86 kB / 1.31 GB, free: 28.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.016, allocations: 17.62 kB / 1.31 GB, free: 28.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/1.016, allocations: 240.1 kB / 1.31 GB, free: 27.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/1.016, allocations: 28.31 kB / 1.31 GB, free: 27.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/1.016, allocations: 17.16 kB / 1.31 GB, free: 27.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/1.016, allocations: 291.5 kB / 1.311 GB, free: 27.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.016, allocations: 0 / 1.311 GB, free: 27.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/1.016, allocations: 7.062 kB / 1.311 GB, free: 27.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.016, allocations: 2.969 kB / 1.311 GB, free: 27.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/1.018, allocations: 0.7472 MB / 1.311 GB, free: 27.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/1.018, allocations: 306.6 kB / 1.312 GB, free: 27.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/1.02, allocations: 0.6484 MB / 1.312 GB, free: 27.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/1.02, allocations: 211.7 kB / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/1.02, allocations: 393.1 kB / 1.313 GB, free: 26.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.02, allocations: 38.5 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/1.02, allocations: 0 / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001472/1.022, allocations: 0.6488 MB / 1.313 GB, free: 26.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/1.022, allocations: 60.59 kB / 1.314 GB, free: 26.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/1.022, allocations: 121.7 kB / 1.314 GB, free: 26.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/1.022, allocations: 32.36 kB / 1.314 GB, free: 26.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/1.022, allocations: 90.81 kB / 1.314 GB, free: 26.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/1.022, allocations: 137.1 kB / 1.314 GB, free: 26.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/1.022, allocations: 64.61 kB / 1.314 GB, free: 26.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/1.022, allocations: 330.3 kB / 1.314 GB, free: 25.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/1.023, allocations: 198.7 kB / 1.314 GB, free: 25.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/1.023, allocations: 203.1 kB / 1.315 GB, free: 25.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/1.024, allocations: 361.9 kB / 1.315 GB, free: 25.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.024, allocations: 0 / 1.315 GB, free: 25.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009414/1.025, allocations: 469.6 kB / 1.315 GB, free: 25.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.025, allocations: 5.594 kB / 1.315 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.025, allocations: 0 / 1.315 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.025, allocations: 2.625 kB / 1.315 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/1.025, allocations: 96.06 kB / 1.316 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/1.025, allocations: 7.172 kB / 1.316 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.025, allocations: 49.55 kB / 1.316 GB, free: 25.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/1.025, allocations: 11.25 kB / 1.316 GB, free: 25.6 MB / 1.061 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.0001144/1.025, allocations: 145.6 kB / 1.316 GB, free: 25.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/1.026, allocations: 26.3 kB / 1.316 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.027, allocations: 0.5142 MB / 1.316 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.027, allocations: 2.625 kB / 1.316 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.027, allocations: 3.938 kB / 1.316 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.027, allocations: 6.094 kB / 1.316 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/1.027, allocations: 313.9 kB / 1.317 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.027, allocations: 11.94 kB / 1.317 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/1.027, allocations: 95.42 kB / 1.317 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.027, allocations: 2.625 kB / 1.317 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.027, allocations: 11.97 kB / 1.317 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.027, allocations: 3.984 kB / 1.317 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.027, allocations: 2.859 kB / 1.317 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/1.028, allocations: 497.2 kB / 1.317 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/1.028, allocations: 106.2 kB / 1.317 GB, free: 24.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/1.028, allocations: 6.688 kB / 1.317 GB, free: 24.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/1.028, allocations: 34.05 kB / 1.317 GB, free: 24.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.028, allocations: 122.4 kB / 1.317 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/1.029, allocations: 13.62 kB / 1.317 GB, free: 24.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.39e-05/1.029, allocations: 101 kB / 1.318 GB, free: 24.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 2.625 kB / 1.318 GB, free: 24.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003655/1.029, allocations: 115.2 kB / 1.318 GB, free: 24.65 MB / 1.061 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.001287/1.03, allocations: 1.122 MB / 1.319 GB, free: 23.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009335/1.031, allocations: 455.6 kB / 1.319 GB, free: 23.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.031, allocations: 0 / 1.319 GB, free: 23.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004451/1.032, allocations: 250.2 kB / 1.319 GB, free: 23.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/1.032, allocations: 73 kB / 1.32 GB, free: 23.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/1.036, allocations: 2.679 MB / 1.322 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/1.036, allocations: 0.7339 MB / 1.323 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005441/1.037, allocations: 186 kB / 1.323 GB, free: 21.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/1.037, allocations: 64.52 kB / 1.323 GB, free: 21.54 MB / 1.061 GB Notification: Performance of SimCode: time 9.81e-07/1.037, allocations: 0.7812 kB / 1.323 GB, free: 21.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/1.073, allocations: 7.475 MB / 1.33 GB, free: 20.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.448, allocations: 5.875 kB / 1.33 GB, free: 20.75 MB / 1.061 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.794178200885653]