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.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.0007695/0.0007695, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002476, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00111/0.00111, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.00256, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09185/1.128, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.437/2.437, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2334/2.671, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.054e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002608/0.002628, allocations: 1.475 MB / 0.8197 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.004095, allocations: 1.067 MB / 0.8208 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.004135, allocations: 4 kB / 0.8208 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.00418, allocations: 7.922 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.004292, allocations: 43.69 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.004684, allocations: 115.4 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.004971, allocations: 247.6 kB / 0.8212 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.005023, allocations: 19.91 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.00519, allocations: 119.8 kB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.005339, allocations: 107.8 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.005375, allocations: 12 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.005719, allocations: 119.8 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.005807, allocations: 75.83 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.005886, allocations: 47.94 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.006201, allocations: 219.3 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.07e-05/0.006222, allocations: 4 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006223, allocations: 4 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.006242, allocations: 0 / 0.8219 GB, free: 15.25 MB / 0.8073 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.0007855/0.007027, allocations: 483.5 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.007064, allocations: 8.031 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.007245, allocations: 106 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.007462, allocations: 165.5 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.007522, allocations: 28.36 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.007552, allocations: 16.38 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.007876, allocations: 181.1 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007886, allocations: 192 / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.007908, allocations: 8.375 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.007924, allocations: 7.938 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.008402, allocations: 287.5 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.008651, allocations: 142.5 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.009403, allocations: 414.5 kB / 0.8236 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.009527, allocations: 69.77 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.009761, allocations: 79.88 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.00979, allocations: 42.31 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.009793, allocations: 0 / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0004146/0.01021, allocations: 213 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.01024, allocations: 55.41 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.01033, allocations: 126.6 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.01036, allocations: 29.7 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.01039, allocations: 92.77 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.01049, allocations: 126.8 kB / 0.8244 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.01058, allocations: 53.67 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01068, allocations: 338.7 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.01077, allocations: 42.81 kB / 0.8248 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.01086, allocations: 47.73 kB / 0.8249 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.01104, allocations: 116 kB / 0.825 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01105, allocations: 0 / 0.825 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002624/0.01131, allocations: 157.2 kB / 0.8251 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.01132, allocations: 4 kB / 0.8251 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01133, allocations: 0 / 0.8251 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01134, allocations: 4 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.01169, allocations: 107.8 kB / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01169, allocations: 4 kB / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01183, allocations: 55.78 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.01186, allocations: 11.98 kB / 0.8253 GB, free: 11.52 MB / 0.8073 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.685e-05/0.01196, allocations: 124.6 kB / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.012, allocations: 23.98 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.01236, allocations: 219.2 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01237, allocations: 4 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01237, allocations: 0 / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01237, allocations: 4 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.01258, allocations: 157.7 kB / 0.8258 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01259, allocations: 0 / 0.8258 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.0129, allocations: 107.8 kB / 0.8259 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.01292, allocations: 23.83 kB / 0.826 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01293, allocations: 0 / 0.826 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.01295, allocations: 8 kB / 0.826 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01295, allocations: 4 kB / 0.826 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01295, allocations: 7.984 kB / 0.826 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.01325, allocations: 206.3 kB / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.01328, allocations: 8 kB / 0.8262 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.01341, allocations: 39.95 kB / 0.8262 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.01351, allocations: 39.67 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.01353, allocations: 8 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.01356, allocations: 20.83 kB / 0.8263 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01356, allocations: 0 / 0.8263 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003139/0.01387, allocations: 103.9 kB / 0.8264 GB, free: 10.37 MB / 0.8073 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.00028/0.01415, allocations: 152.1 kB / 0.8265 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.01445, allocations: 160.8 kB / 0.8267 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.01445, allocations: 0 / 0.8267 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.01461, allocations: 108.7 kB / 0.8268 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.01495, allocations: 119.8 kB / 0.8269 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.01875, allocations: 375 kB / 0.8273 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.01881, allocations: 84.83 kB / 0.8273 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.01904, allocations: 73.83 kB / 0.8274 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.01929, allocations: 139.2 kB / 0.8275 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.0193, allocations: 0 / 0.8275 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of Templates: time 0.008316/0.02761, allocations: 6.208 MB / 0.8336 GB, free: 3.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.491883204318583]