Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001495/0.001495, 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.001003/0.001003, allocations: 169 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.15/2.15, 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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.665e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004313/0.004329, allocations: 4.619 MB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.006209, allocations: 2.807 MB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.006261, allocations: 0 / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.006504, allocations: 43.64 kB / 0.8855 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.006717, allocations: 103.2 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.007388, allocations: 0.517 MB / 0.8861 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.007571, allocations: 239.8 kB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.007611, allocations: 13.8 kB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.008226, allocations: 0.4987 MB / 0.8868 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.00831, allocations: 79.78 kB / 0.8869 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.00833, allocations: 4 kB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.008858, allocations: 0.5025 MB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.008915, allocations: 35.89 kB / 0.8874 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.008968, allocations: 59.83 kB / 0.8875 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.009357, allocations: 354.9 kB / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009359, allocations: 0 / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.61e-07/0.00936, allocations: 0 / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.009364, allocations: 0 / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006783/0.01004, allocations: 0.5348 MB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.01007, allocations: 8.031 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.0102, allocations: 52.72 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.01035, allocations: 148.4 kB / 0.8885 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.01037, allocations: 16.69 kB / 0.8885 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.01039, allocations: 20.38 kB / 0.8886 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01067, allocations: 420.1 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01068, allocations: 192 / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.0107, allocations: 12.11 kB / 0.889 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.01073, allocations: 8 kB / 0.889 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.01096, allocations: 307.4 kB / 0.8893 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.01164, allocations: 1.088 MB / 0.8903 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01184, allocations: 133.7 kB / 0.8905 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.0119, allocations: 55.59 kB / 0.8905 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.01235, allocations: 0.5154 MB / 0.891 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.01237, allocations: 41.39 kB / 0.8911 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01238, allocations: 0 / 0.8911 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000218/0.01259, allocations: 125.5 kB / 0.8912 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.01262, allocations: 55.41 kB / 0.8912 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.01272, allocations: 232 kB / 0.8915 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.01274, allocations: 29.7 kB / 0.8915 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.0128, allocations: 190.8 kB / 0.8917 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.01283, allocations: 51.53 kB / 0.8917 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.01287, allocations: 59.31 kB / 0.8918 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.01298, allocations: 0.5 MB / 0.8923 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.01302, allocations: 23.97 kB / 0.8923 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.01311, allocations: 188.4 kB / 0.8925 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01328, allocations: 226 kB / 0.8927 GB, free: 7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01328, allocations: 0 / 0.8927 GB, free: 7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002238/0.0135, allocations: 217.4 kB / 0.8929 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.01352, allocations: 4 kB / 0.8929 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01352, allocations: 4 kB / 0.8929 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01354, allocations: 8 kB / 0.8929 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01365, allocations: 59.91 kB / 0.893 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01366, allocations: 7.938 kB / 0.893 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.01371, allocations: 15.89 kB / 0.893 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01373, allocations: 16 kB / 0.893 GB, free: 6.668 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.592e-05/0.0138, allocations: 180.5 kB / 0.8932 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.01383, allocations: 23.91 kB / 0.8932 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.01402, allocations: 150.1 kB / 0.8933 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01403, allocations: 0 / 0.8933 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01403, allocations: 4 kB / 0.8933 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01403, allocations: 0 / 0.8933 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.01416, allocations: 164.5 kB / 0.8935 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01416, allocations: 0 / 0.8935 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.01422, allocations: 35.92 kB / 0.8935 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01423, allocations: 3.984 kB / 0.8935 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01424, allocations: 7.984 kB / 0.8935 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01424, allocations: 4 kB / 0.8935 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01424, allocations: 0 / 0.8935 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.01439, allocations: 266.7 kB / 0.8938 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.01443, allocations: 31.86 kB / 0.8938 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.01445, allocations: 4 kB / 0.8938 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.01453, allocations: 7.984 kB / 0.8938 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.01455, allocations: 15.98 kB / 0.8939 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01456, allocations: 7.938 kB / 0.8939 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.01461, allocations: 153.6 kB / 0.894 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01461, allocations: 3.938 kB / 0.894 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002345/0.01484, allocations: 87.81 kB / 0.8941 GB, free: 5.473 MB / 0.8542 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0001947/0.01504, allocations: 175.1 kB / 0.8943 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.01521, allocations: 116.7 kB / 0.8944 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01521, allocations: 0 / 0.8944 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.01525, allocations: 51.7 kB / 0.8944 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01551, allocations: 51.89 kB / 0.8945 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.0162, allocations: 319.1 kB / 0.8948 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.01624, allocations: 68 kB / 0.8948 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.604e-05/0.01634, allocations: 49.2 kB / 0.8949 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.01637, allocations: 24.48 kB / 0.8949 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.01637, allocations: 0 / 0.8949 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004598/0.02097, allocations: 3.069 MB / 0.8979 GB, free: 1.566 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.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.622344637289643]