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.001338/0.001338, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001409/0.001409, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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 2.435e-06/2.435e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.781e-05/4.025e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.003046/0.003086, allocations: 1.361 MB / 0.8807 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.005656, allocations: 1.193 MB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.00572, allocations: 0 / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.005757, allocations: 7.297 kB / 0.8819 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.005894, allocations: 11.86 kB / 0.8819 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.006895, allocations: 155.3 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.007036, allocations: 51.67 kB / 0.8821 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.007102, allocations: 4 kB / 0.8821 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.0072, allocations: 27.95 kB / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.007255, allocations: 17.16 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.007276, allocations: 0 / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.007837, allocations: 139.8 kB / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.007861, allocations: 8.969 kB / 0.8823 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.007903, allocations: 12 kB / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.008234, allocations: 143.5 kB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.00824, allocations: 4 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/0.008242, allocations: 0 / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.008249, allocations: 0 / 0.8824 GB, free: 2.934 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.0005653/0.008814, allocations: 392.3 kB / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.008876, allocations: 12.03 kB / 0.8828 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.008941, allocations: 8.891 kB / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.009097, allocations: 116.5 kB / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.009118, allocations: 4.375 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.009132, allocations: 4.375 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.009283, allocations: 61.61 kB / 0.883 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.009294, allocations: 192 / 0.883 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.009306, allocations: 8.375 kB / 0.883 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.009315, allocations: 3.938 kB / 0.883 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.009383, allocations: 39.88 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.00959, allocations: 109 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00971, allocations: 86.06 kB / 0.8832 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.009752, allocations: 27.42 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.01052, allocations: 247.9 kB / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.01057, allocations: 37.39 kB / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.01057, allocations: 0 / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000271/0.01084, allocations: 77.58 kB / 0.8836 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.0109, allocations: 77.11 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01101, allocations: 161.9 kB / 0.8838 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01103, allocations: 25.7 kB / 0.8838 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.01108, allocations: 134.8 kB / 0.884 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.01114, allocations: 31.86 kB / 0.884 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.0112, allocations: 35.36 kB / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.01138, allocations: 492.1 kB / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.01141, allocations: 11.98 kB / 0.8845 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.01145, allocations: 31.3 kB / 0.8845 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.01153, allocations: 39.36 kB / 0.8846 GB, free: 480 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.01154, allocations: 4 kB / 0.8846 GB, free: 476 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.01168, allocations: 73.77 kB / 0.8847 GB, free: 396 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01171, allocations: 4 kB / 0.8847 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01171, allocations: 0 / 0.8847 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01173, allocations: 8.016 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.01183, allocations: 19.98 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01184, allocations: 0 / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.01187, allocations: 3.938 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01188, allocations: 4 kB / 0.8847 GB, free: 356 kB / 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 0.000117/0.01199, allocations: 164.5 kB / 0.8849 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.01202, allocations: 7.953 kB / 0.8849 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.01224, allocations: 94.23 kB / 0.885 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01225, allocations: 3.938 kB / 0.885 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01225, allocations: 4.031 kB / 0.885 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.01226, allocations: 3.938 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01242, allocations: 109.2 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.01242, allocations: 4 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.01249, allocations: 12 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01249, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.0125, allocations: 3.984 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01251, allocations: 4 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01251, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01269, allocations: 116 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.01273, allocations: 11.98 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.01274, allocations: 4 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.01277, allocations: 4 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.01279, allocations: 7.984 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.0128, allocations: 4 kB / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.01286, allocations: 123.2 kB / 0.8853 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01286, allocations: 3.938 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003567/0.01321, allocations: 59.75 kB / 0.8854 GB, free: 15.55 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.000411/0.01363, allocations: 182.9 kB / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.01379, allocations: 51.7 kB / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.01379, allocations: 0 / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.01383, allocations: 27.61 kB / 0.8857 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01413, allocations: 23.23 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.01482, allocations: 181.8 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.01487, allocations: 60 kB / 0.8859 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.01493, allocations: 8.031 kB / 0.8859 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.01503, allocations: 90.19 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of SimCode: time 1.723e-06/0.01503, allocations: 0 / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.005928/0.02096, allocations: 1.844 MB / 0.8878 GB, free: 13.05 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.776722072158009]