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.001199/0.001199, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001742/0.001742, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.089/1.089, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.496/2.496, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.193e-06/1.193e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.123e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001812/0.001833, allocations: 1.462 MB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.002971, allocations: 1.067 MB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.003002, allocations: 0 / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.23e-05/0.003075, allocations: 7.875 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.003169, allocations: 35.86 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.003474, allocations: 115.4 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.003655, allocations: 247.4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.00369, allocations: 8 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.003789, allocations: 115.8 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.003893, allocations: 115.8 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.003916, allocations: 12 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.004167, allocations: 119.8 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.004233, allocations: 95.77 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.004291, allocations: 71.89 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004516, allocations: 259.2 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004518, allocations: 0 / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004518, allocations: 4 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004523, allocations: 0 / 0.8422 GB, free: 10.41 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.0004542/0.004977, allocations: 423.9 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.00501, allocations: 19.95 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.005111, allocations: 20.92 kB / 0.8427 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.005267, allocations: 169.5 kB / 0.8428 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.005305, allocations: 28.11 kB / 0.8429 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.005325, allocations: 20.38 kB / 0.8429 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.005566, allocations: 177.5 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005574, allocations: 192 / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005586, allocations: 4.375 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005593, allocations: 7.938 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.005909, allocations: 285 kB / 0.8433 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.006097, allocations: 150.3 kB / 0.8435 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.006609, allocations: 426.5 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.00669, allocations: 64.84 kB / 0.8439 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.006873, allocations: 75.88 kB / 0.844 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.007044, allocations: 46.48 kB / 0.8441 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.007045, allocations: 4 kB / 0.8441 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0003068/0.007352, allocations: 209.8 kB / 0.8443 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.00738, allocations: 55.41 kB / 0.8443 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.007449, allocations: 122.7 kB / 0.8444 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.007469, allocations: 33.7 kB / 0.8445 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.007493, allocations: 84.78 kB / 0.8445 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.007569, allocations: 126.9 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.007632, allocations: 57.66 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.007711, allocations: 330.7 kB / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.007777, allocations: 42.81 kB / 0.8451 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.007847, allocations: 39.98 kB / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.007984, allocations: 123.7 kB / 0.8452 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007986, allocations: 0 / 0.8452 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001828/0.008168, allocations: 149.4 kB / 0.8454 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008182, allocations: 11.94 kB / 0.8454 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008186, allocations: 0 / 0.8454 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.008197, allocations: 0 / 0.8454 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.008415, allocations: 103.8 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.008418, allocations: 0 / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.008516, allocations: 59.75 kB / 0.8455 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.008533, allocations: 11.98 kB / 0.8456 GB, free: 6.836 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 7.852e-05/0.008612, allocations: 124.6 kB / 0.8457 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.00864, allocations: 27.97 kB / 0.8457 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.008903, allocations: 215.2 kB / 0.8459 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.008906, allocations: 4 kB / 0.8459 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008908, allocations: 0 / 0.8459 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.008914, allocations: 7.984 kB / 0.8459 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.00907, allocations: 157.6 kB / 0.8461 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009071, allocations: 0 / 0.8461 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.009278, allocations: 99.84 kB / 0.8462 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.009282, allocations: 4 kB / 0.8462 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.009306, allocations: 11.98 kB / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009308, allocations: 0 / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009311, allocations: 0 / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.009623, allocations: 202.4 kB / 0.8464 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.009654, allocations: 27.83 kB / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.009675, allocations: 8 kB / 0.8464 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.009771, allocations: 35.97 kB / 0.8464 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.009848, allocations: 35.92 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.009865, allocations: 15.98 kB / 0.8465 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.15e-05/0.009886, allocations: 24.77 kB / 0.8465 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009886, allocations: 4 kB / 0.8465 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002082/0.01009, allocations: 95.88 kB / 0.8466 GB, free: 5.699 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.0002018/0.0103, allocations: 156 kB / 0.8468 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.01051, allocations: 168.8 kB / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01051, allocations: 0 / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.01061, allocations: 104.4 kB / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01085, allocations: 95.84 kB / 0.8471 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.01146, allocations: 351.3 kB / 0.8474 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.01151, allocations: 92.75 kB / 0.8475 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.01165, allocations: 69.84 kB / 0.8476 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.01183, allocations: 135.2 kB / 0.8477 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.01183, allocations: 0 / 0.8477 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.006914/0.01874, allocations: 5.985 MB / 0.8536 GB, free: 14.62 MB / 0.823 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.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.618410373106599]