Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.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.001086/0.001086, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.000988/0.000988, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9617/0.9617, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.898/1.898, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0.6562 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.086e-05, allocations: 3.562 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002475/0.002506, allocations: 1.428 MB / 0.7885 GB, free: 9.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.005652, allocations: 3.001 MB / 0.7914 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.005701, allocations: 0 / 0.7914 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.422e-05/0.005795, allocations: 7.141 kB / 0.7914 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.005917, allocations: 43.69 kB / 0.7914 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.006504, allocations: 190.9 kB / 0.7916 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.00681, allocations: 251.4 kB / 0.7919 GB, free: 6.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.006852, allocations: 4.719 kB / 0.7919 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.007009, allocations: 119.8 kB / 0.792 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.00717, allocations: 117.4 kB / 0.7921 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.007203, allocations: 12 kB / 0.7921 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.00753, allocations: 155.5 kB / 0.7923 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.007615, allocations: 95.84 kB / 0.7924 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.007686, allocations: 77.5 kB / 0.7924 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.007996, allocations: 299.1 kB / 0.7927 GB, free: 5.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.008002, allocations: 3.984 kB / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008003, allocations: 0 / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.008009, allocations: 3.938 kB / 0.7927 GB, free: 5.609 MB / 0.698 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.0007377/0.008746, allocations: 0.5606 MB / 0.7933 GB, free: 5.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.008797, allocations: 8.031 kB / 0.7933 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.00898, allocations: 34.53 kB / 0.7933 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.009259, allocations: 180.3 kB / 0.7935 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.009328, allocations: 28.11 kB / 0.7935 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.009364, allocations: 16.38 kB / 0.7935 GB, free: 4.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.009712, allocations: 191.7 kB / 0.7937 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.009724, allocations: 192 / 0.7937 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.009744, allocations: 8.656 kB / 0.7937 GB, free: 4.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.009756, allocations: 4.531 kB / 0.7937 GB, free: 4.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.01023, allocations: 451.2 kB / 0.7941 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.01047, allocations: 196.7 kB / 0.7943 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.0112, allocations: 0.5056 MB / 0.7948 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.01135, allocations: 100.8 kB / 0.7949 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.01161, allocations: 75.94 kB / 0.795 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.01164, allocations: 42.33 kB / 0.795 GB, free: 3.113 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.01165, allocations: 0 / 0.795 GB, free: 3.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0005375/0.01218, allocations: 338.4 kB / 0.7954 GB, free: 2.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.01222, allocations: 67.28 kB / 0.7954 GB, free: 2.699 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.01231, allocations: 185 kB / 0.7956 GB, free: 2.504 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01233, allocations: 34.64 kB / 0.7956 GB, free: 2.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.01238, allocations: 135.5 kB / 0.7958 GB, free: 2.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.01247, allocations: 136.2 kB / 0.7959 GB, free: 2.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.01256, allocations: 67.34 kB / 0.796 GB, free: 2.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01269, allocations: 0.5001 MB / 0.7964 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.0128, allocations: 71.94 kB / 0.7965 GB, free: 1.539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.01291, allocations: 80.56 kB / 0.7966 GB, free: 1.461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.01312, allocations: 145.2 kB / 0.7967 GB, free: 1.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01312, allocations: 2.25 kB / 0.7967 GB, free: 1.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003509/0.01347, allocations: 245 kB / 0.797 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.01349, allocations: 9.391 kB / 0.797 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.0135, allocations: 0 / 0.797 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01352, allocations: 4 kB / 0.797 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.01375, allocations: 107.2 kB / 0.7971 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01376, allocations: 3.984 kB / 0.7971 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01386, allocations: 51.84 kB / 0.7971 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01388, allocations: 15.98 kB / 0.7971 GB, free: 0.8867 MB / 0.698 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.0001017/0.01398, allocations: 168.5 kB / 0.7973 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.01401, allocations: 28.47 kB / 0.7973 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.01461, allocations: 303.2 kB / 0.7976 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01462, allocations: 4.562 kB / 0.7976 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01462, allocations: 3.938 kB / 0.7976 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01463, allocations: 4.5 kB / 0.7976 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01481, allocations: 213.5 kB / 0.7978 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01481, allocations: 0 / 0.7978 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.015, allocations: 96.5 kB / 0.7979 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.01501, allocations: 8.781 kB / 0.7979 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01502, allocations: 8 kB / 0.7979 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01503, allocations: 3.984 kB / 0.798 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01503, allocations: 0.6562 kB / 0.798 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.0154, allocations: 300.7 kB / 0.7982 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.01543, allocations: 31.78 kB / 0.7983 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01545, allocations: 6.219 kB / 0.7983 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.01554, allocations: 35.97 kB / 0.7983 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.01572, allocations: 143.6 kB / 0.7984 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01573, allocations: 15.98 kB / 0.7985 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.01578, allocations: 142.2 kB / 0.7986 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01578, allocations: 0 / 0.7986 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002721/0.01606, allocations: 115.8 kB / 0.7987 GB, free: 15.21 MB / 0.7136 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.0002949/0.01635, allocations: 191.8 kB / 0.7989 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.01668, allocations: 227.6 kB / 0.7991 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01668, allocations: 4.5 kB / 0.7991 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.01683, allocations: 148.3 kB / 0.7993 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01714, allocations: 102.3 kB / 0.7994 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.01796, allocations: 363 kB / 0.7997 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.01801, allocations: 88.81 kB / 0.7998 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.01826, allocations: 163.7 kB / 0.7999 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.01834, allocations: 36.48 kB / 0.8 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/0.01834, allocations: 0 / 0.8 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.007799/0.02614, allocations: 5.51 MB / 0.8054 GB, free: 8.484 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_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.375928443856537]