Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.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.001043/0.001043, allocations: 73.88 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.001354/0.001354, allocations: 169 kB / 24.06 MB, free: 456 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.061/2.061, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.989e-06/4.989e-06, allocations: 4 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.708e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003303/0.00333, allocations: 1.429 MB / 0.8808 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.00548, allocations: 1.061 MB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.005541, allocations: 0.5 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.005662, allocations: 5.328 kB / 0.8818 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.005819, allocations: 39.75 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.006471, allocations: 121 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.006792, allocations: 247.4 kB / 0.8822 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.006853, allocations: 7.984 kB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.007028, allocations: 119.8 kB / 0.8823 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.007217, allocations: 119.8 kB / 0.8824 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.007256, allocations: 12 kB / 0.8824 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.007676, allocations: 107.8 kB / 0.8825 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.007798, allocations: 99.77 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.007896, allocations: 67.89 kB / 0.8827 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.008347, allocations: 259.2 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00835, allocations: 0 / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.133e-06/0.008351, allocations: 0 / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.008357, allocations: 0 / 0.8829 GB, free: 2.383 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008935/0.00925, allocations: 0.5543 MB / 0.8835 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.009304, allocations: 12.03 kB / 0.8835 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.009493, allocations: 28.84 kB / 0.8835 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.009755, allocations: 180.2 kB / 0.8837 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.009808, allocations: 24.3 kB / 0.8837 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.009839, allocations: 16.38 kB / 0.8837 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.01014, allocations: 180.1 kB / 0.8839 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01015, allocations: 192 / 0.8839 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.01016, allocations: 4.375 kB / 0.8839 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01017, allocations: 7.938 kB / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.01051, allocations: 335.8 kB / 0.8842 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.01075, allocations: 173 kB / 0.8844 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.01133, allocations: 437.4 kB / 0.8848 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.01142, allocations: 80.58 kB / 0.8849 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.01162, allocations: 79.89 kB / 0.885 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.01165, allocations: 41.14 kB / 0.885 GB, free: 144 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.01165, allocations: 0 / 0.885 GB, free: 144 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004207/0.01207, allocations: 266.1 kB / 0.8853 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01211, allocations: 59.41 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.01221, allocations: 189.8 kB / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01223, allocations: 29.7 kB / 0.8855 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.01228, allocations: 135.5 kB / 0.8857 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/0.01238, allocations: 134.8 kB / 0.8858 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.01246, allocations: 83.05 kB / 0.8859 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01261, allocations: 0.4962 MB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.01268, allocations: 47.95 kB / 0.8864 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.01275, allocations: 52.02 kB / 0.8865 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01291, allocations: 103.4 kB / 0.8866 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01291, allocations: 3.938 kB / 0.8866 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002737/0.01318, allocations: 205.6 kB / 0.8868 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.0132, allocations: 6.5 kB / 0.8868 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.0132, allocations: 0 / 0.8868 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01322, allocations: 4 kB / 0.8868 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.01343, allocations: 103.8 kB / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01344, allocations: 4 kB / 0.8869 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01354, allocations: 55.78 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01356, allocations: 12 kB / 0.8869 GB, free: 14.11 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001087/0.01367, allocations: 180.4 kB / 0.8871 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.0137, allocations: 31.89 kB / 0.8871 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.01404, allocations: 259 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01405, allocations: 4 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01405, allocations: 0 / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.01406, allocations: 3.938 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01424, allocations: 189 kB / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01424, allocations: 0 / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.01442, allocations: 99.86 kB / 0.8877 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.01442, allocations: 0 / 0.8877 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.01444, allocations: 11.98 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01444, allocations: 3.938 kB / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01445, allocations: 0 / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.01473, allocations: 268.3 kB / 0.8879 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.01476, allocations: 23.8 kB / 0.888 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01478, allocations: 4 kB / 0.888 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.01487, allocations: 43.95 kB / 0.888 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.01495, allocations: 47.67 kB / 0.888 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.01497, allocations: 8 kB / 0.8881 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.01502, allocations: 143.1 kB / 0.8882 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01502, allocations: 0 / 0.8882 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002422/0.01526, allocations: 95.86 kB / 0.8883 GB, free: 12.65 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 (37): * Single equations (assignments): 37 * 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.0002262/0.01548, allocations: 171 kB / 0.8884 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01575, allocations: 191.2 kB / 0.8886 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01575, allocations: 0 / 0.8886 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01589, allocations: 128.2 kB / 0.8888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01617, allocations: 97.06 kB / 0.8888 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.01686, allocations: 359 kB / 0.8892 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.01692, allocations: 84.83 kB / 0.8893 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000162/0.01708, allocations: 73.83 kB / 0.8893 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.01727, allocations: 158.1 kB / 0.8895 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.01727, allocations: 0 / 0.8895 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.008086/0.02536, allocations: 6.082 MB / 0.8954 GB, free: 5.387 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_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.940642457921058]