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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009953/0.0009953, allocations: 173 kB / 23.49 MB, free: 1.059 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.9511/0.9511, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.095/2.095, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.853e-06/1.853e-06, allocations: 0 / 0.8781 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.115e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001672/0.001693, allocations: 1.371 MB / 0.8795 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003035, allocations: 1.193 MB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.003074, allocations: 1.344 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.003096, allocations: 3.938 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.003178, allocations: 11.91 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.003674, allocations: 166.6 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.003739, allocations: 43.78 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.003776, allocations: 0 / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.003823, allocations: 27.92 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.003848, allocations: 15.97 kB / 0.8809 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.003861, allocations: 0 / 0.8809 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.004135, allocations: 139.7 kB / 0.881 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.004147, allocations: 13.03 kB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.00417, allocations: 8 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.004354, allocations: 143.5 kB / 0.8812 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004357, allocations: 4.5 kB / 0.8812 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004357, allocations: 1.188 kB / 0.8812 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.004362, allocations: 0 / 0.8812 GB, free: 3.523 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.0003144/0.004676, allocations: 392.3 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.004712, allocations: 19.97 kB / 0.8816 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.004755, allocations: 8.891 kB / 0.8816 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.004839, allocations: 112.6 kB / 0.8817 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004852, allocations: 4.375 kB / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.00486, allocations: 384 / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.004959, allocations: 73.55 kB / 0.8818 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004966, allocations: 4.188 kB / 0.8818 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.004974, allocations: 4.312 kB / 0.8818 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.004983, allocations: 3.938 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.005032, allocations: 35.95 kB / 0.8818 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.005163, allocations: 128.3 kB / 0.882 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.005248, allocations: 90.08 kB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.005286, allocations: 35.42 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.005749, allocations: 235.8 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.005771, allocations: 37.39 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.005772, allocations: 4 kB / 0.8823 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001648/0.005937, allocations: 89.78 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.005968, allocations: 85.05 kB / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.006035, allocations: 161.9 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.006043, allocations: 25.7 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.006072, allocations: 126.9 kB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.006102, allocations: 27.75 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.006132, allocations: 35.3 kB / 0.8829 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.006234, allocations: 496.1 kB / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.006251, allocations: 11.98 kB / 0.8834 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.006281, allocations: 27.5 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.00633, allocations: 47.36 kB / 0.8834 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006332, allocations: 4 kB / 0.8834 GB, free: 1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.166e-05/0.006414, allocations: 77.56 kB / 0.8835 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006425, allocations: 4 kB / 0.8835 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006429, allocations: 0 / 0.8835 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006441, allocations: 4 kB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.006494, allocations: 15.98 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.006501, allocations: 7.875 kB / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.006514, allocations: 0 / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.006519, allocations: 8.031 kB / 0.8835 GB, free: 0.8789 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 5.772e-05/0.006576, allocations: 160.6 kB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.006585, allocations: 8.141 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.006706, allocations: 97.64 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006709, allocations: 4 kB / 0.8838 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006713, allocations: 3.938 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006716, allocations: 4 kB / 0.8838 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.242e-05/0.006789, allocations: 124.6 kB / 0.8839 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00679, allocations: 3.938 kB / 0.8839 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.006817, allocations: 16 kB / 0.8839 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006818, allocations: 4.031 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.006826, allocations: 3.984 kB / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006828, allocations: 4 kB / 0.884 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006829, allocations: 0 / 0.884 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.392e-05/0.006923, allocations: 124.1 kB / 0.8841 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.006946, allocations: 11.98 kB / 0.8841 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006956, allocations: 4 kB / 0.8841 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-06/0.006966, allocations: 3.984 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.006984, allocations: 7.938 kB / 0.8841 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.006987, allocations: 0 / 0.8841 GB, free: 236 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.007021, allocations: 139.1 kB / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007021, allocations: 0 / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001701/0.007191, allocations: 55.75 kB / 0.8843 GB, free: 40 kB / 0.8386 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.0002221/0.007413, allocations: 175 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.793e-05/0.007511, allocations: 48.06 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007513, allocations: 4.062 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.007538, allocations: 31.67 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.007691, allocations: 20.28 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.00811, allocations: 181 kB / 0.8847 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.008138, allocations: 63.34 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.008169, allocations: 12.03 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.008189, allocations: 16.44 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.00819, allocations: 0 / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.002828/0.01102, allocations: 1.598 MB / 0.8864 GB, free: 13.86 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.394407557090744]