Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.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.0007776/0.0007776, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007819/0.0007819, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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.8561/0.8561, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6228 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 4 kB / 0.9822 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.662e-05, allocations: 6.219 kB / 0.9822 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001859/0.001886, allocations: 1.376 MB / 0.9835 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.00447, allocations: 2.758 MB / 0.9862 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.004522, allocations: 0 / 0.9862 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.186e-05/0.004614, allocations: 15.92 kB / 0.9862 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.004721, allocations: 35.75 kB / 0.9863 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.005203, allocations: 191 kB / 0.9865 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.005487, allocations: 251.4 kB / 0.9867 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.00553, allocations: 4 kB / 0.9867 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.00563, allocations: 115.8 kB / 0.9868 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.005734, allocations: 119.8 kB / 0.9869 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.00576, allocations: 12 kB / 0.9869 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.006052, allocations: 143.7 kB / 0.9871 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.006132, allocations: 99.78 kB / 0.9872 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.006194, allocations: 71.88 kB / 0.9872 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.006494, allocations: 307.1 kB / 0.9875 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006497, allocations: 0 / 0.9875 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.432e-06/0.006498, allocations: 0 / 0.9875 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.006503, allocations: 0 / 0.9875 GB, free: 11.45 MB / 0.9011 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.0006106/0.007114, allocations: 473.2 kB / 0.988 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.007155, allocations: 8.031 kB / 0.988 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.007271, allocations: 20.84 kB / 0.988 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.007474, allocations: 185.4 kB / 0.9882 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.007515, allocations: 28.36 kB / 0.9882 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.007535, allocations: 12.38 kB / 0.9882 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.007933, allocations: 293.6 kB / 0.9885 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.007942, allocations: 192 / 0.9885 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.007961, allocations: 12.12 kB / 0.9885 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.007968, allocations: 4 kB / 0.9885 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.008852, allocations: 0.7233 MB / 0.9892 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.009136, allocations: 220.9 kB / 0.9894 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.01011, allocations: 0.652 MB / 0.9901 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.0104, allocations: 208.7 kB / 0.9903 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.01063, allocations: 87.88 kB / 0.9904 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01065, allocations: 42.5 kB / 0.9904 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/0.01065, allocations: 4 kB / 0.9904 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.0009983/0.01165, allocations: 0.6496 MB / 0.991 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01168, allocations: 59.34 kB / 0.9911 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.01177, allocations: 126.1 kB / 0.9912 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01178, allocations: 33.7 kB / 0.9912 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.01182, allocations: 84.8 kB / 0.9913 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.01189, allocations: 126.9 kB / 0.9914 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.01196, allocations: 73.67 kB / 0.9915 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.01205, allocations: 326.8 kB / 0.9918 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.01232, allocations: 191.8 kB / 0.992 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.01259, allocations: 199.8 kB / 0.9922 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.0131, allocations: 365.9 kB / 0.9925 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01311, allocations: 0 / 0.9925 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006219/0.01373, allocations: 464.7 kB / 0.993 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01374, allocations: 4 kB / 0.993 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01375, allocations: 0 / 0.993 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01376, allocations: 7.938 kB / 0.993 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.01397, allocations: 103.8 kB / 0.9931 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01397, allocations: 0 / 0.9931 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01407, allocations: 51.81 kB / 0.9932 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01409, allocations: 11.98 kB / 0.9932 GB, free: 5.496 MB / 0.9011 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 9.481e-05/0.01419, allocations: 141.8 kB / 0.9933 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.01422, allocations: 19.91 kB / 0.9933 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.01501, allocations: 0.5157 MB / 0.9938 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01502, allocations: 4 kB / 0.9938 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.01502, allocations: 3.938 kB / 0.9938 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01503, allocations: 7.984 kB / 0.9938 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01523, allocations: 233 kB / 0.9941 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01523, allocations: 0 / 0.9941 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.01541, allocations: 95.86 kB / 0.9942 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01541, allocations: 7.938 kB / 0.9942 GB, free: 4.43 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01543, allocations: 11.98 kB / 0.9942 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.01543, allocations: 4 kB / 0.9942 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01543, allocations: 4 kB / 0.9942 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.01607, allocations: 0.4884 MB / 0.9947 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.01609, allocations: 19.84 kB / 0.9947 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01611, allocations: 8 kB / 0.9947 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.01621, allocations: 39.95 kB / 0.9947 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.01636, allocations: 119.7 kB / 0.9948 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01638, allocations: 15.98 kB / 0.9948 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.01642, allocations: 96.39 kB / 0.9949 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01642, allocations: 0 / 0.9949 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002851/0.01671, allocations: 119.7 kB / 0.9951 GB, free: 3.492 MB / 0.9011 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.0002792/0.01699, allocations: 205.6 kB / 0.9953 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006594/0.01765, allocations: 463.6 kB / 0.9957 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01765, allocations: 0 / 0.9957 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.01796, allocations: 243.7 kB / 0.9959 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.01826, allocations: 79.92 kB / 0.996 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.01889, allocations: 443.8 kB / 0.9964 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.01897, allocations: 118.6 kB / 0.9965 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.01907, allocations: 52.47 kB / 0.9966 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of SimCode: time 7.51e-07/0.01907, allocations: 0 / 0.9966 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of Templates: time 0.005017/0.02409, allocations: 4.88 MB / 1.001 GB, free: 13.05 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.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: 6.824738242663443]