Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001642/0.001642, allocations: 111 kB / 16.46 MB, free: 6.453 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.002635/0.002635, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.625/1.625, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.4899 GB / 0.7915 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [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.002076/0.002076, allocations: 70.52 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4199, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002751/0.4226, allocations: 1.402 MB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.4266, allocations: 2.969 MB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.4267, allocations: 3.938 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/0.4268, allocations: 3.984 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.4269, allocations: 47.75 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.4275, allocations: 187.1 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.4278, allocations: 235.5 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.4278, allocations: 3.938 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4279, allocations: 99.78 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4281, allocations: 127.7 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.4281, allocations: 16 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.4285, allocations: 143.8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4286, allocations: 91.77 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.4287, allocations: 91.62 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.4291, allocations: 267.1 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4291, allocations: 3.984 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4291, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.4291, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 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.0009147/0.43, allocations: 0.5296 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4301, allocations: 15.98 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4302, allocations: 16.84 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.4305, allocations: 236.1 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.4305, allocations: 24.36 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.4306, allocations: 16.31 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.4313, allocations: 297.2 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4313, allocations: 0 / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.4313, allocations: 4 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4313, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.4329, allocations: 0.7505 MB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.4333, allocations: 313 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.435, allocations: 0.6489 MB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.4355, allocations: 212.7 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/0.436, allocations: 392.3 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.436, allocations: 38.5 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.333e-06/0.436, allocations: 0 / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001727/0.4377, allocations: 0.6574 MB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4378, allocations: 55.41 kB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4379, allocations: 129.3 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4379, allocations: 29.7 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.438, allocations: 96.78 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.4381, allocations: 126.9 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4382, allocations: 65.67 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4383, allocations: 334.8 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.4388, allocations: 191.8 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.4393, allocations: 211.5 kB / 1.332 GB, free: 7.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.4403, allocations: 358.2 kB / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4403, allocations: 0 / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001128/0.4414, allocations: 468.6 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4414, allocations: 4 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4414, allocations: 4 kB / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4414, allocations: 0 / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.4418, allocations: 99.84 kB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4418, allocations: 4 kB / 1.333 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.442, allocations: 55.8 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.442, allocations: 12 kB / 1.333 GB, free: 6.535 MB / 1.029 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.0001513/0.4422, allocations: 141.8 kB / 1.333 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4422, allocations: 19.84 kB / 1.333 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.4435, allocations: 0.5103 MB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.4435, allocations: 4 kB / 1.334 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4435, allocations: 7.938 kB / 1.334 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4435, allocations: 3.984 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.4439, allocations: 317.3 kB / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4439, allocations: 0 / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.4443, allocations: 99.8 kB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4443, allocations: 0 / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4443, allocations: 11.98 kB / 1.334 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4443, allocations: 4 kB / 1.334 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4443, allocations: 0 / 1.334 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.4454, allocations: 0.4923 MB / 1.334 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.4455, allocations: 100.9 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4455, allocations: 4 kB / 1.335 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4457, allocations: 39.95 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.4459, allocations: 115.8 kB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.446, allocations: 11.98 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.446, allocations: 103.3 kB / 1.335 GB, free: 4.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.446, allocations: 0 / 1.335 GB, free: 4.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000392/0.4464, allocations: 123.7 kB / 1.335 GB, free: 4.336 MB / 1.029 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.000341/0.4468, allocations: 186.9 kB / 1.335 GB, free: 4.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.4479, allocations: 459.6 kB / 1.336 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4479, allocations: 0 / 1.336 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.4485, allocations: 247.4 kB / 1.336 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4489, allocations: 79.86 kB / 1.336 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.4497, allocations: 425.6 kB / 1.336 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4501, allocations: 0.7327 MB / 1.337 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004015/0.4505, allocations: 185.6 kB / 1.337 GB, free: 1.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4506, allocations: 39.41 kB / 1.337 GB, free: 1.957 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4506, allocations: 4 kB / 1.337 GB, free: 1.953 MB / 1.029 GB Notification: Performance of Templates: time 0.01/0.4606, allocations: 5.347 MB / 1.342 GB, free: 12.68 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.72955649299547]