Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.001927/0.001927, allocations: 93.06 kB / 19.65 MB, free: 272 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.00125/0.00125, allocations: 165 kB / 23.02 MB, free: 1.547 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.192/2.192, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.026e-05, allocations: 3.656 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002473/0.002503, allocations: 1.362 MB / 0.8795 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.004467, allocations: 1.622 MB / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.004511, allocations: 0 / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.004535, allocations: 7.938 kB / 0.8811 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.004624, allocations: 15.91 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.005315, allocations: 214.9 kB / 0.8813 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.005391, allocations: 51.72 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.005432, allocations: 3.938 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.005488, allocations: 27.91 kB / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.001e-05/0.005518, allocations: 11.98 kB / 0.8814 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.005535, allocations: 8 kB / 0.8814 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.005987, allocations: 211.6 kB / 0.8816 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.006004, allocations: 7.969 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.006032, allocations: 11.94 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.006314, allocations: 195.4 kB / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006317, allocations: 0 / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006318, allocations: 0 / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.006323, allocations: 0 / 0.8818 GB, free: 2.629 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.0003656/0.006689, allocations: 408.1 kB / 0.8822 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.006728, allocations: 8.031 kB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.006773, allocations: 12.89 kB / 0.8822 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.006863, allocations: 116.6 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006877, allocations: 384 / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.006893, allocations: 4.375 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.007003, allocations: 69.56 kB / 0.8824 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007011, allocations: 192 / 0.8824 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.007021, allocations: 384 / 0.8824 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.00703, allocations: 7.938 kB / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.007085, allocations: 39.94 kB / 0.8824 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.007238, allocations: 128.3 kB / 0.8825 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.007328, allocations: 86.08 kB / 0.8826 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.007366, allocations: 31.41 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.00787, allocations: 247.8 kB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.007894, allocations: 41.33 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.007896, allocations: 0 / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001946/0.00809, allocations: 93.78 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.008125, allocations: 84.98 kB / 0.8831 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.008195, allocations: 153.9 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.00821, allocations: 29.7 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.00824, allocations: 130.9 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.008275, allocations: 31.73 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.008305, allocations: 23.38 kB / 0.8835 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.00842, allocations: 0.4923 MB / 0.8839 GB, free: 200 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.008436, allocations: 4 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.008465, allocations: 31.36 kB / 0.884 GB, free: 156 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.008519, allocations: 47.44 kB / 0.884 GB, free: 100 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008521, allocations: 0 / 0.884 GB, free: 100 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.011e-05/0.008611, allocations: 73.94 kB / 0.8841 GB, free: 20 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008625, allocations: 8 kB / 0.8841 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00863, allocations: 80 / 0.8841 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.008645, allocations: 3.938 kB / 0.8841 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.008724, allocations: 16.05 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.008733, allocations: 11.86 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.00875, allocations: 8 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.008757, allocations: 4 kB / 0.8841 GB, free: 15.97 MB / 0.8542 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.721e-05/0.008824, allocations: 160.6 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.008837, allocations: 7.953 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.008984, allocations: 109.7 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008986, allocations: 0 / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.008992, allocations: 7.938 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008995, allocations: 0 / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.009071, allocations: 116.6 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009072, allocations: 0 / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.009105, allocations: 15.98 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.009107, allocations: 0 / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009115, allocations: 11.97 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009116, allocations: 0 / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.009121, allocations: 0 / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.009231, allocations: 127.9 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.009256, allocations: 7.984 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.009267, allocations: 4 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.009278, allocations: 4 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.009295, allocations: 11.86 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.0093, allocations: 4 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.009337, allocations: 127.2 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009337, allocations: 0 / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002203/0.009558, allocations: 79.67 kB / 0.8849 GB, free: 15.11 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.000288/0.009846, allocations: 210.9 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.009948, allocations: 51.59 kB / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00995, allocations: 0 / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.009973, allocations: 27.61 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01016, allocations: 16.12 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.01064, allocations: 193.7 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.01068, allocations: 55.36 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.01071, allocations: 12.02 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.01074, allocations: 24.5 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.01074, allocations: 0 / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.004084/0.01482, allocations: 2.018 MB / 0.8874 GB, free: 12.47 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.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.711013552267104]