Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001263/0.001263, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001509/0.001509, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.9 MB / 0.6229 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.985e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005954/0.005984, allocations: 4.511 MB / 0.9866 GB, free: 13.53 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.008437, allocations: 2.465 MB / 0.989 GB, free: 11.05 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.008553, allocations: 0 / 0.989 GB, free: 11.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.008884, allocations: 47.67 kB / 0.9891 GB, free: 11.01 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.009203, allocations: 107.2 kB / 0.9892 GB, free: 10.9 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.01061, allocations: 0.5337 MB / 0.9897 GB, free: 10.37 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.01093, allocations: 239.8 kB / 0.9899 GB, free: 10.13 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.01099, allocations: 17.77 kB / 0.9899 GB, free: 10.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.01127, allocations: 151.5 kB / 0.9901 GB, free: 9.969 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.01142, allocations: 83.75 kB / 0.9902 GB, free: 9.887 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.01145, allocations: 8 kB / 0.9902 GB, free: 9.879 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.01212, allocations: 311.2 kB / 0.9905 GB, free: 9.574 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.01221, allocations: 43.83 kB / 0.9905 GB, free: 9.531 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.01228, allocations: 63.88 kB / 0.9906 GB, free: 9.469 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.01289, allocations: 386.8 kB / 0.9909 GB, free: 9.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.0129, allocations: 0 / 0.9909 GB, free: 9.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.0129, allocations: 0 / 0.9909 GB, free: 9.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.01291, allocations: 0 / 0.9909 GB, free: 9.09 MB / 0.948 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.0008033/0.01371, allocations: 445.4 kB / 0.9914 GB, free: 8.621 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.01376, allocations: 15.97 kB / 0.9914 GB, free: 8.605 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.01394, allocations: 20.84 kB / 0.9914 GB, free: 8.586 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.01428, allocations: 153.5 kB / 0.9915 GB, free: 8.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.01429, allocations: 8.703 kB / 0.9916 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.01432, allocations: 16.38 kB / 0.9916 GB, free: 8.387 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.01482, allocations: 491.9 kB / 0.992 GB, free: 7.832 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01484, allocations: 192 / 0.992 GB, free: 7.832 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.01487, allocations: 20.11 kB / 0.9921 GB, free: 7.812 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.0149, allocations: 4 kB / 0.9921 GB, free: 7.809 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.01537, allocations: 423.5 kB / 0.9925 GB, free: 7.395 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01647, allocations: 0.7739 MB / 0.9932 GB, free: 6.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.01681, allocations: 153.9 kB / 0.9934 GB, free: 6.418 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.0169, allocations: 48.89 kB / 0.9934 GB, free: 6.367 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.01761, allocations: 451.9 kB / 0.9938 GB, free: 5.906 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.01764, allocations: 34.56 kB / 0.9939 GB, free: 5.863 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.01764, allocations: 0 / 0.9939 GB, free: 5.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003521/0.018, allocations: 149.5 kB / 0.994 GB, free: 5.711 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.01804, allocations: 51.41 kB / 0.9941 GB, free: 5.648 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01817, allocations: 165.4 kB / 0.9942 GB, free: 5.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.0182, allocations: 29.7 kB / 0.9943 GB, free: 5.445 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.01828, allocations: 144 kB / 0.9944 GB, free: 5.301 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.01832, allocations: 55.59 kB / 0.9944 GB, free: 5.246 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.01839, allocations: 53.66 kB / 0.9945 GB, free: 5.188 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01851, allocations: 330.8 kB / 0.9948 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.01861, allocations: 35.98 kB / 0.9948 GB, free: 4.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01873, allocations: 133.7 kB / 0.995 GB, free: 4.641 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.01891, allocations: 204.2 kB / 0.9952 GB, free: 4.395 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01891, allocations: 0 / 0.9952 GB, free: 4.395 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002356/0.01914, allocations: 209.3 kB / 0.9954 GB, free: 4.184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01916, allocations: 4 kB / 0.9954 GB, free: 4.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01917, allocations: 4 kB / 0.9954 GB, free: 4.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01919, allocations: 11.94 kB / 0.9954 GB, free: 4.164 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01932, allocations: 60.38 kB / 0.9954 GB, free: 4.105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.01933, allocations: 11.94 kB / 0.9955 GB, free: 4.094 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.0194, allocations: 31.78 kB / 0.9955 GB, free: 4.062 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01941, allocations: 23.97 kB / 0.9955 GB, free: 4.039 MB / 0.948 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 0.0001065/0.01952, allocations: 133.7 kB / 0.9956 GB, free: 3.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01955, allocations: 15.91 kB / 0.9957 GB, free: 3.883 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.01978, allocations: 150.2 kB / 0.9958 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.01979, allocations: 0 / 0.9958 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01979, allocations: 0 / 0.9958 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.0198, allocations: 3.984 kB / 0.9958 GB, free: 3.719 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01995, allocations: 157.2 kB / 0.9959 GB, free: 3.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01995, allocations: 4 kB / 0.996 GB, free: 3.531 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.02002, allocations: 35.92 kB / 0.996 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.02002, allocations: 0 / 0.996 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.02003, allocations: 0 / 0.996 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02003, allocations: 4 kB / 0.996 GB, free: 3.492 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02004, allocations: 0 / 0.996 GB, free: 3.492 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.02021, allocations: 222.4 kB / 0.9962 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.02026, allocations: 27.91 kB / 0.9962 GB, free: 3.234 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.02027, allocations: 7.938 kB / 0.9962 GB, free: 3.227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.02038, allocations: 15.98 kB / 0.9963 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.0204, allocations: 15.97 kB / 0.9963 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.02042, allocations: 8 kB / 0.9963 GB, free: 3.188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.02048, allocations: 115.3 kB / 0.9964 GB, free: 3.074 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.02048, allocations: 0 / 0.9964 GB, free: 3.074 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002903/0.02077, allocations: 87.75 kB / 0.9965 GB, free: 2.988 MB / 0.948 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.0002737/0.02104, allocations: 191 kB / 0.9967 GB, free: 2.793 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.02123, allocations: 111.7 kB / 0.9968 GB, free: 2.684 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02123, allocations: 0 / 0.9968 GB, free: 2.684 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.02127, allocations: 43.92 kB / 0.9968 GB, free: 2.641 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.02154, allocations: 44.83 kB / 0.9968 GB, free: 2.598 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.02207, allocations: 319.9 kB / 0.9971 GB, free: 2.254 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.02214, allocations: 103.2 kB / 0.9972 GB, free: 2.137 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.02219, allocations: 28.5 kB / 0.9973 GB, free: 2.109 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.02219, allocations: 0 / 0.9973 GB, free: 2.109 MB / 0.948 GB Notification: Performance of Templates: time 0.004112/0.0263, allocations: 3.166 MB / 1 GB, free: 14.96 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.631292397156358]