Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.0009873/0.0009873, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001019/0.001019, allocations: 161 kB / 24.17 MB, free: 332 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 0.9879/0.9879, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.962/1.962, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Specialized.Water.Examples.WaterProperties_pT,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_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.506e-05, allocations: 9.406 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.03325/0.03327, allocations: 13.05 MB / 0.7729 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.03628, allocations: 2.816 MB / 0.7756 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.0364, allocations: 1.594 kB / 0.7756 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.0367, allocations: 51.61 kB / 0.7757 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.03702, allocations: 104.5 kB / 0.7758 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.03847, allocations: 0.5238 MB / 0.7763 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.03877, allocations: 243.7 kB / 0.7765 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.03882, allocations: 14.45 kB / 0.7765 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007261/0.04608, allocations: 3.41 MB / 0.7799 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.04625, allocations: 76.58 kB / 0.7799 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.04628, allocations: 8 kB / 0.7799 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.04811, allocations: 0.9872 MB / 0.7809 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.04817, allocations: 41.12 kB / 0.7809 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.04822, allocations: 63.83 kB / 0.781 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.04873, allocations: 366.8 kB / 0.7813 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.04873, allocations: 1.656 kB / 0.7813 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/0.04873, allocations: 0 / 0.7813 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.04874, allocations: 0 / 0.7813 GB, free: 0.9023 MB / 0.7292 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.0005157/0.04925, allocations: 423.7 kB / 0.7818 GB, free: 476 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.04928, allocations: 8.531 kB / 0.7818 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.04941, allocations: 46.12 kB / 0.7818 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.04958, allocations: 157.5 kB / 0.782 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.04959, allocations: 12.7 kB / 0.782 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.04961, allocations: 25.16 kB / 0.782 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.04989, allocations: 406.8 kB / 0.7824 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.0499, allocations: 1.531 kB / 0.7824 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.04991, allocations: 12.12 kB / 0.7824 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.04995, allocations: 7.984 kB / 0.7824 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.05015, allocations: 248.7 kB / 0.7826 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.05076, allocations: 0.6978 MB / 0.7833 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.05094, allocations: 167.9 kB / 0.7835 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.05098, allocations: 32.84 kB / 0.7835 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.05143, allocations: 480.5 kB / 0.784 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.05145, allocations: 34.56 kB / 0.784 GB, free: 14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.05146, allocations: 0 / 0.784 GB, free: 14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001658/0.05162, allocations: 141.5 kB / 0.7841 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.05165, allocations: 55.34 kB / 0.7842 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.05173, allocations: 163.8 kB / 0.7843 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.05175, allocations: 34.33 kB / 0.7844 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.0518, allocations: 148 kB / 0.7845 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.05183, allocations: 55.58 kB / 0.7846 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.05187, allocations: 49.64 kB / 0.7846 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.05195, allocations: 330.7 kB / 0.7849 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.05198, allocations: 26.81 kB / 0.785 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.05205, allocations: 125.6 kB / 0.7851 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.05218, allocations: 189.2 kB / 0.7853 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.05219, allocations: 0 / 0.7853 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001568/0.05234, allocations: 168 kB / 0.7854 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.05236, allocations: 8 kB / 0.7854 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.05236, allocations: 4 kB / 0.7854 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.05238, allocations: 4 kB / 0.7854 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.05253, allocations: 64.38 kB / 0.7855 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.05253, allocations: 11.94 kB / 0.7855 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.0526, allocations: 27.78 kB / 0.7855 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.05261, allocations: 8 kB / 0.7855 GB, free: 12.26 MB / 0.7448 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.466e-05/0.05269, allocations: 136.5 kB / 0.7857 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.05271, allocations: 11.98 kB / 0.7857 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.05287, allocations: 121.1 kB / 0.7858 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.05288, allocations: 0 / 0.7858 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.05288, allocations: 0 / 0.7858 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.05288, allocations: 0 / 0.7858 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.053, allocations: 109.8 kB / 0.7859 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.05301, allocations: 7.938 kB / 0.7859 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.05308, allocations: 39.91 kB / 0.7859 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.05309, allocations: 0 / 0.7859 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.05309, allocations: 0 / 0.7859 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.05309, allocations: 4 kB / 0.786 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.05309, allocations: 0 / 0.786 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.05321, allocations: 222.2 kB / 0.7862 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.05325, allocations: 35.8 kB / 0.7862 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.05326, allocations: 4 kB / 0.7862 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.05334, allocations: 15.98 kB / 0.7862 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.05335, allocations: 15.92 kB / 0.7862 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.05337, allocations: 15.92 kB / 0.7862 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.05339, allocations: 31.27 kB / 0.7863 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.05339, allocations: 0 / 0.7863 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002391/0.05363, allocations: 83.83 kB / 0.7864 GB, free: 11.37 MB / 0.7448 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.0002277/0.05386, allocations: 172.2 kB / 0.7865 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.05398, allocations: 88.58 kB / 0.7866 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.05399, allocations: 4 kB / 0.7866 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.05402, allocations: 44.09 kB / 0.7867 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.05422, allocations: 51.88 kB / 0.7867 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.05485, allocations: 322.9 kB / 0.787 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.05488, allocations: 71.94 kB / 0.7871 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.05499, allocations: 45.28 kB / 0.7871 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.05515, allocations: 129.2 kB / 0.7872 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.05515, allocations: 0 / 0.7872 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.005413/0.06056, allocations: 3.757 MB / 0.7909 GB, free: 6.695 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.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.177106993738562]