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.00156/0.00156, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001897/0.001897, allocations: 204 kB / 20.09 MB, free: 2.977 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.919/2.919, allocations: 0.49 GB / 0.7923 GB, free: 1.422 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.001927/0.001927, allocations: 68.17 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8168, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001884/0.8186, allocations: 1.408 MB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.8211, allocations: 2.971 MB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.8211, allocations: 3.281 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.176e-05/0.8212, allocations: 3.281 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.8213, allocations: 50.16 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.8217, allocations: 177.1 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.8219, allocations: 245.8 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.8219, allocations: 10.81 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.822, allocations: 93.53 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.8221, allocations: 123.6 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.8221, allocations: 10.97 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.8224, allocations: 145.1 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.8225, allocations: 90.84 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.8226, allocations: 88.27 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.8229, allocations: 274.7 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8229, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8229, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8229, allocations: 0.7812 kB / 1.327 GB, free: 21.44 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.0007271/0.8236, allocations: 0.5357 MB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.8237, allocations: 13.55 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.8238, allocations: 17.75 kB / 1.328 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.824, allocations: 240.4 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.824, allocations: 28.17 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.8241, allocations: 13.53 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.8247, allocations: 289.7 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.8247, allocations: 3.938 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.8247, allocations: 5.656 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8247, allocations: 8.156 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.8263, allocations: 0.7512 MB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.8266, allocations: 313.3 kB / 1.33 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.8283, allocations: 0.6411 MB / 1.33 GB, free: 20.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.8288, allocations: 216.8 kB / 1.33 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.8291, allocations: 387.6 kB / 1.331 GB, free: 19.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.8291, allocations: 41.34 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.8291, allocations: 4 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001657/0.8307, allocations: 0.6537 MB / 1.331 GB, free: 19.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.8308, allocations: 55.55 kB / 1.332 GB, free: 19.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.8308, allocations: 128.1 kB / 1.332 GB, free: 19.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.8309, allocations: 31.89 kB / 1.332 GB, free: 19.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.8309, allocations: 92.48 kB / 1.332 GB, free: 19.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.831, allocations: 136.1 kB / 1.332 GB, free: 19.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.8311, allocations: 68.08 kB / 1.332 GB, free: 19.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.8311, allocations: 324.3 kB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.8316, allocations: 194.1 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.8321, allocations: 200.8 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.833, allocations: 363.1 kB / 1.333 GB, free: 18.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.833, allocations: 4.734 kB / 1.333 GB, free: 18.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001256/0.8343, allocations: 462 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8343, allocations: 6.266 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8343, allocations: 0 / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8343, allocations: 1.625 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.8348, allocations: 102.7 kB / 1.334 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8348, allocations: 1.562 kB / 1.334 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.835, allocations: 53.2 kB / 1.334 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.835, allocations: 15.03 kB / 1.334 GB, free: 18.54 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.0001065/0.8351, allocations: 138.5 kB / 1.334 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.8352, allocations: 20.41 kB / 1.334 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.8364, allocations: 0.5135 MB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8364, allocations: 7.938 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8364, allocations: 1.859 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8364, allocations: 2.016 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.8367, allocations: 317.5 kB / 1.335 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8367, allocations: 3.938 kB / 1.335 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.8371, allocations: 98.62 kB / 1.335 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8371, allocations: 1.938 kB / 1.335 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.8371, allocations: 10.8 kB / 1.335 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8371, allocations: 9.828 kB / 1.335 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8371, allocations: 0 / 1.335 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.8381, allocations: 496.9 kB / 1.335 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.8382, allocations: 104.5 kB / 1.335 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.8382, allocations: 9.984 kB / 1.335 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.8384, allocations: 35.22 kB / 1.335 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.8386, allocations: 116.5 kB / 1.335 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.8386, allocations: 18.88 kB / 1.335 GB, free: 17.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.8387, allocations: 100.4 kB / 1.336 GB, free: 17.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8387, allocations: 0 / 1.336 GB, free: 17.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003896/0.8391, allocations: 116.5 kB / 1.336 GB, free: 17.59 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.0002899/0.8394, allocations: 189.2 kB / 1.336 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.8404, allocations: 458.3 kB / 1.336 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8404, allocations: 0 / 1.336 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.8409, allocations: 246.7 kB / 1.337 GB, free: 17.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.8413, allocations: 72.97 kB / 1.337 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/0.842, allocations: 471.3 kB / 1.337 GB, free: 17.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.8421, allocations: 0.7298 MB / 1.338 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.8422, allocations: 49.81 kB / 1.338 GB, free: 16.38 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.8423, allocations: 3.938 kB / 1.338 GB, free: 16.37 MB / 1.061 GB Notification: Performance of Templates: time 0.007363/0.8496, allocations: 4.767 MB / 1.342 GB, free: 15.87 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.910475237003993]