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.001094/0.001094, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001296/0.001296, allocations: 166.2 kB / 24.86 MB, free: 9.207 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 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.782/1.782, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.98e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002186/0.002205, allocations: 1.32 MB / 0.7895 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.006122, allocations: 3.342 MB / 0.7928 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.006159, allocations: 0 / 0.7928 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.006181, allocations: 3.938 kB / 0.7928 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.006228, allocations: 3.938 kB / 0.7928 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.00679, allocations: 104.2 kB / 0.7929 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.00687, allocations: 35.86 kB / 0.7929 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.006907, allocations: 9.641 kB / 0.793 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.006969, allocations: 27.91 kB / 0.793 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.007034, allocations: 15.91 kB / 0.793 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.007047, allocations: 4 kB / 0.793 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.007238, allocations: 57.17 kB / 0.7931 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.007256, allocations: 19.91 kB / 0.7931 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.007278, allocations: 11.94 kB / 0.7931 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.007449, allocations: 69.44 kB / 0.7932 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007451, allocations: 3.938 kB / 0.7932 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.007452, allocations: 0 / 0.7932 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.007456, allocations: 0 / 0.7932 GB, free: 7.262 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.0003562/0.007812, allocations: 373.9 kB / 0.7935 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.007849, allocations: 12.03 kB / 0.7935 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.007961, allocations: 17.16 kB / 0.7935 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.008045, allocations: 108.6 kB / 0.7936 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.00806, allocations: 9.219 kB / 0.7937 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.008082, allocations: 4.375 kB / 0.7937 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.008211, allocations: 127.9 kB / 0.7938 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.008218, allocations: 192 / 0.7938 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.008229, allocations: 4.625 kB / 0.7938 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.008234, allocations: 0.5312 kB / 0.7938 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.008267, allocations: 11.98 kB / 0.7938 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.008395, allocations: 106.4 kB / 0.7939 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/0.008483, allocations: 59.05 kB / 0.794 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.008508, allocations: 23.66 kB / 0.794 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/0.008953, allocations: 297.7 kB / 0.7943 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.008977, allocations: 33.39 kB / 0.7943 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.008978, allocations: 1.375 kB / 0.7943 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/0.009397, allocations: 230.2 kB / 0.7945 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.009429, allocations: 56.5 kB / 0.7946 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.009513, allocations: 165.8 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.009529, allocations: 29.7 kB / 0.7948 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.00958, allocations: 131.8 kB / 0.7949 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.0096, allocations: 31.73 kB / 0.7949 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.009639, allocations: 36.95 kB / 0.7949 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.009771, allocations: 496.1 kB / 0.7954 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.009787, allocations: 11.98 kB / 0.7954 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.009836, allocations: 66.05 kB / 0.7955 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.009911, allocations: 79.39 kB / 0.7956 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009912, allocations: 0.875 kB / 0.7956 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.01003, allocations: 99.66 kB / 0.7957 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01005, allocations: 4 kB / 0.7957 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.01005, allocations: 0 / 0.7957 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01006, allocations: 4 kB / 0.7957 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.01013, allocations: 19.98 kB / 0.7957 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01013, allocations: 7.438 kB / 0.7957 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.01017, allocations: 4 kB / 0.7957 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.01017, allocations: 4 kB / 0.7957 GB, free: 4.355 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 7.843e-05/0.01025, allocations: 164.5 kB / 0.7959 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.01028, allocations: 7.938 kB / 0.7959 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01031, allocations: 12.11 kB / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01031, allocations: 0 / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01031, allocations: 0 / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01031, allocations: 0 / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.01049, allocations: 113.8 kB / 0.796 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01049, allocations: 0 / 0.796 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.01056, allocations: 12.5 kB / 0.796 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.01056, allocations: 8.5 kB / 0.796 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.01057, allocations: 4.547 kB / 0.796 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01057, allocations: 0 / 0.796 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01057, allocations: 1.406 kB / 0.796 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.01074, allocations: 219.8 kB / 0.7962 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01076, allocations: 8.312 kB / 0.7962 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.01077, allocations: 8.438 kB / 0.7962 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.01084, allocations: 0 / 0.7962 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.01086, allocations: 12.78 kB / 0.7963 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01086, allocations: 4 kB / 0.7963 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.0109, allocations: 128.1 kB / 0.7964 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0109, allocations: 0 / 0.7964 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002236/0.01113, allocations: 8 kB / 0.7964 GB, free: 3.605 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.0001054/0.01123, allocations: 106.8 kB / 0.7965 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.01133, allocations: 39.59 kB / 0.7965 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01133, allocations: 0 / 0.7965 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.01136, allocations: 27.62 kB / 0.7966 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.0116, allocations: 15.11 kB / 0.7966 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.01227, allocations: 268.3 kB / 0.7968 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.01232, allocations: 59.34 kB / 0.7969 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.905e-05/0.01237, allocations: 8 kB / 0.7969 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.01245, allocations: 86.19 kB / 0.797 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01245, allocations: 0 / 0.797 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002952/0.0154, allocations: 0.7095 MB / 0.7977 GB, free: 2.258 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: 5.0588868274353445]