Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.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.00101/0.00101, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001086/0.001086, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9871/0.9871, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.686/1.686, allocations: 359 MB / 0.6052 GB, free: 10.99 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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.108e-05, allocations: 3.219 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002597/0.002628, allocations: 1.307 MB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.006536, allocations: 3.38 MB / 0.7916 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.006569, allocations: 0 / 0.7916 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.006594, allocations: 7.922 kB / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.00664, allocations: 7.922 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.007165, allocations: 99.48 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.007235, allocations: 36.56 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.00727, allocations: 4 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.007328, allocations: 37.5 kB / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.007384, allocations: 11.97 kB / 0.7918 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.007398, allocations: 4 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.007581, allocations: 63.75 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.007595, allocations: 9.188 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.00762, allocations: 15.97 kB / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.007785, allocations: 67.75 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.007789, allocations: 0.75 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.00779, allocations: 0 / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.007796, allocations: 1.344 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00056/0.008356, allocations: 372.2 kB / 0.7923 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.008397, allocations: 12.03 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.00851, allocations: 14.3 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.008577, allocations: 112.6 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.008589, allocations: 9.172 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.00861, allocations: 4.375 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.008738, allocations: 131.3 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.008744, allocations: 1.438 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.008757, allocations: 8.125 kB / 0.7926 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.008765, allocations: 4 kB / 0.7926 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.008801, allocations: 13.33 kB / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.008928, allocations: 120.6 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.009005, allocations: 54.98 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.009028, allocations: 16.22 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000468/0.009496, allocations: 301.3 kB / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.009518, allocations: 34.27 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.00952, allocations: 0 / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004731/0.009993, allocations: 238.5 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.01002, allocations: 51.41 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.0101, allocations: 174.3 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.01011, allocations: 31.02 kB / 0.7936 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.01015, allocations: 130.8 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.01017, allocations: 23.8 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.0102, allocations: 39.31 kB / 0.7938 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01031, allocations: 497.3 kB / 0.7943 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.01033, allocations: 11.98 kB / 0.7943 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.01037, allocations: 66.11 kB / 0.7944 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.01044, allocations: 84.19 kB / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01044, allocations: 0 / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.911e-05/0.01054, allocations: 94.48 kB / 0.7945 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01055, allocations: 5.219 kB / 0.7945 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01056, allocations: 4.438 kB / 0.7945 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.01057, allocations: 3.938 kB / 0.7945 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.01063, allocations: 20.95 kB / 0.7946 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01063, allocations: 4 kB / 0.7946 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.01066, allocations: 8 kB / 0.7946 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01066, allocations: 6.25 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.786e-05/0.01073, allocations: 168.5 kB / 0.7947 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.01075, allocations: 7.953 kB / 0.7947 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.01078, allocations: 12.11 kB / 0.7948 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01078, allocations: 0 / 0.7948 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01079, allocations: 7.25 kB / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01079, allocations: 0 / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.01094, allocations: 128.6 kB / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01094, allocations: 0 / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.01099, allocations: 16 kB / 0.7949 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01099, allocations: 3.984 kB / 0.7949 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.011, allocations: 0 / 0.7949 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.011, allocations: 0 / 0.7949 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.011, allocations: 3.938 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.01115, allocations: 228.9 kB / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01117, allocations: 12.27 kB / 0.7951 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01119, allocations: 4.5 kB / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.01123, allocations: 0 / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.01125, allocations: 12.53 kB / 0.7951 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01126, allocations: 4.562 kB / 0.7952 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.01129, allocations: 123.2 kB / 0.7953 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01129, allocations: 1.344 kB / 0.7953 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001552/0.01144, allocations: 8 kB / 0.7953 GB, free: 3.703 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000106/0.01155, allocations: 108.3 kB / 0.7954 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01165, allocations: 44.27 kB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01165, allocations: 1.688 kB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.01167, allocations: 23.61 kB / 0.7955 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01186, allocations: 13.66 kB / 0.7955 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.01246, allocations: 269.7 kB / 0.7957 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.01249, allocations: 63.34 kB / 0.7958 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.01252, allocations: 0 / 0.7958 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.01255, allocations: 16.5 kB / 0.7958 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.01255, allocations: 0 / 0.7958 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.002493/0.01504, allocations: 0.6783 MB / 0.7965 GB, free: 2.457 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.821420154999942]