Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.001656/0.001656, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001704/0.001704, allocations: 165 kB / 23.02 MB, free: 1.555 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.9876/0.9876, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.178/2.178, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.639e-05, allocations: 8.781 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001916/0.001943, allocations: 1.356 MB / 0.8795 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003318, allocations: 1.209 MB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.00335, allocations: 0 / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.003373, allocations: 3.938 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.003452, allocations: 15.91 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.003973, allocations: 147.3 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.004049, allocations: 55.7 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.004087, allocations: 4 kB / 0.8809 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.004136, allocations: 23.98 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.803e-05/0.004164, allocations: 19.91 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.004178, allocations: 0 / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.004482, allocations: 139.8 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.004494, allocations: 3.938 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.004517, allocations: 15.97 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.00471, allocations: 139.6 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004713, allocations: 3.938 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004714, allocations: 4 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.004719, allocations: 0 / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003376/0.005057, allocations: 396.3 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.005093, allocations: 8.031 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.005135, allocations: 12.89 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.005217, allocations: 108.6 kB / 0.8817 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005228, allocations: 384 / 0.8817 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.00524, allocations: 4.375 kB / 0.8817 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.00535, allocations: 73.55 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005358, allocations: 192 / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005367, allocations: 384 / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.005376, allocations: 11.94 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.005426, allocations: 35.95 kB / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.005561, allocations: 136.3 kB / 0.882 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.005645, allocations: 82.08 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.005681, allocations: 27.44 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/0.006197, allocations: 247.8 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.006221, allocations: 41.33 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.006222, allocations: 0 / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001836/0.006405, allocations: 85.84 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.006441, allocations: 88.98 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.006515, allocations: 157.9 kB / 0.8827 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.006525, allocations: 29.7 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.006554, allocations: 126.9 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.006591, allocations: 27.75 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.006623, allocations: 27.36 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.006733, allocations: 0.4963 MB / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.006753, allocations: 7.984 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.006787, allocations: 35.38 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.006845, allocations: 47.3 kB / 0.8834 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006847, allocations: 0 / 0.8834 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.475e-05/0.006942, allocations: 73.64 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006954, allocations: 4 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006959, allocations: 0 / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.006974, allocations: 0 / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.007039, allocations: 23.95 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.007047, allocations: 7.938 kB / 0.8835 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.007061, allocations: 0 / 0.8835 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.007067, allocations: 4 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.095e-05/0.007128, allocations: 156.6 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.007138, allocations: 7.953 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.007279, allocations: 109.7 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.007282, allocations: 4 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007286, allocations: 3.938 kB / 0.8838 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007289, allocations: 0 / 0.8838 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.566e-05/0.007365, allocations: 124.7 kB / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007366, allocations: 0 / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.007395, allocations: 12.19 kB / 0.8839 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007397, allocations: 4 kB / 0.8839 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007403, allocations: 0 / 0.8839 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007406, allocations: 8.391 kB / 0.8839 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.007408, allocations: 3.984 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007516, allocations: 124.1 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.007543, allocations: 11.98 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-06/0.007552, allocations: 0 / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.007563, allocations: 4 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.007579, allocations: 11.73 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.007583, allocations: 4 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.007616, allocations: 131.2 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007617, allocations: 0 / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001921/0.007809, allocations: 55.75 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.000249/0.008058, allocations: 186.9 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.008159, allocations: 51.58 kB / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.00816, allocations: 0 / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.008185, allocations: 35.61 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.008356, allocations: 14.06 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.008831, allocations: 192.5 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.008861, allocations: 55.36 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.008897, allocations: 16.02 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.00892, allocations: 12.5 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.00892, allocations: 0 / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.00338/0.0123, allocations: 1.602 MB / 0.8864 GB, free: 13.54 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_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.619392719119787]