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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 197.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7645 GB, free: 10.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002011/0.002011, allocations: 63.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.765/0.767, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002299/0.7693, allocations: 1.27 MB / 1.275 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.7732, allocations: 3.32 MB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.7732, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.7732, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.7733, allocations: 3.938 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.7738, allocations: 107.5 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.7739, allocations: 43.84 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.7739, allocations: 3.984 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.7739, allocations: 23.94 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.774, allocations: 11.97 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.774, allocations: 4 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.7742, allocations: 83.73 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.7743, allocations: 11.92 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.7743, allocations: 11.94 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.7745, allocations: 70.52 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7745, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7745, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7745, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 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.0004364/0.7749, allocations: 359.3 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7749, allocations: 8.031 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.775, allocations: 4.938 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.7752, allocations: 164.3 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.7752, allocations: 4.375 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.7752, allocations: 8.375 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.7753, allocations: 57.78 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7753, allocations: 3.938 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.7753, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.7754, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.7754, allocations: 23.97 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.7756, allocations: 161.7 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.7757, allocations: 42.56 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.7757, allocations: 17.08 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/0.7765, allocations: 0.614 MB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7765, allocations: 30.56 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7765, allocations: 0 / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005952/0.7771, allocations: 298.7 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.7771, allocations: 55.39 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.7772, allocations: 101.9 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.7772, allocations: 25.7 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.7773, allocations: 92.09 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.7773, allocations: 31.8 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.7774, allocations: 21.72 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7775, allocations: 326.8 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.7775, allocations: 12 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.7776, allocations: 61.02 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.7777, allocations: 69.08 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7777, allocations: 0 / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001484/0.7778, allocations: 101.5 kB / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7779, allocations: 8 kB / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7779, allocations: 0 / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7779, allocations: 4 kB / 1.281 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.778, allocations: 16 kB / 1.281 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.778, allocations: 7.922 kB / 1.281 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.778, allocations: 7.938 kB / 1.281 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.778, allocations: 4 kB / 1.281 GB, free: 12.34 MB / 0.9825 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 8.794e-05/0.7781, allocations: 118 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.7781, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.7782, allocations: 11.97 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.7782, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7782, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.7782, allocations: 3.938 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.7784, allocations: 173.7 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7784, allocations: 0 / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.7785, allocations: 15.98 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.7785, allocations: 4 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.7785, allocations: 7.938 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7785, allocations: 0 / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7785, allocations: 0 / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.7787, allocations: 175.4 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.7788, allocations: 81.48 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.7788, allocations: 4 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7789, allocations: 11.97 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.7789, allocations: 0 / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.7789, allocations: 12 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.779, allocations: 87.27 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.779, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00024/0.7792, allocations: 11.94 kB / 1.282 GB, free: 11.54 MB / 0.9825 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.0001362/0.7794, allocations: 111.7 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.7795, allocations: 35.92 kB / 1.282 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7795, allocations: 4.25 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.7795, allocations: 12 kB / 1.282 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.7798, allocations: 18.02 kB / 1.282 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.7804, allocations: 326 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.7807, allocations: 0.6846 MB / 1.283 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.7808, allocations: 8 kB / 1.283 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.7808, allocations: 11.44 kB / 1.283 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.7808, allocations: 0 / 1.283 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.003106/0.7839, allocations: 0.6529 MB / 1.284 GB, free: 9.629 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.diff",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: 8.58795752003789]