Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 104 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 191.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.53 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2519, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002078/0.254, allocations: 1.276 MB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.2571, allocations: 3.258 MB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.2572, allocations: 3.938 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.2572, allocations: 4 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.2573, allocations: 11.92 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.2577, allocations: 99.53 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.2578, allocations: 31.92 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.2578, allocations: 7.984 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.2579, allocations: 19.86 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.2579, allocations: 15.98 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.2579, allocations: 4 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2581, allocations: 79.8 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.2582, allocations: 11.92 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2582, allocations: 19.92 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2584, allocations: 59.92 kB / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2584, allocations: 0 / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2584, allocations: 0 / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2584, allocations: 0 / 1.024 GB, free: 4.941 MB / 0.795 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.0003408/0.2587, allocations: 347.5 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2588, allocations: 16.92 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.2589, allocations: 8.922 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.259, allocations: 176.2 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.259, allocations: 4.375 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.259, allocations: 8.312 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2591, allocations: 57.8 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.2592, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2592, allocations: 4 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2592, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.2592, allocations: 15.98 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.2594, allocations: 165.7 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.2595, allocations: 54.5 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.2595, allocations: 20.84 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.2601, allocations: 0.5948 MB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2602, allocations: 38.56 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2602, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005141/0.2607, allocations: 298.2 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.2607, allocations: 51.41 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.2608, allocations: 101.8 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2608, allocations: 29.7 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2609, allocations: 88.05 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2609, allocations: 27.64 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.2609, allocations: 29.62 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.261, allocations: 318.8 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.2611, allocations: 11.98 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.2611, allocations: 61.02 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.2612, allocations: 69.09 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2612, allocations: 4.438 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001253/0.2613, allocations: 93.55 kB / 1.026 GB, free: 1.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2614, allocations: 8.125 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2614, allocations: 7.938 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2614, allocations: 0 / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.2615, allocations: 23.98 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2615, allocations: 4 kB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.2615, allocations: 3.938 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2615, allocations: 4 kB / 1.026 GB, free: 1.828 MB / 0.795 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.935e-05/0.2616, allocations: 118.4 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2616, allocations: 7.984 kB / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.2617, allocations: 11.97 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2617, allocations: 0 / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2617, allocations: 0 / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2617, allocations: 3.938 kB / 1.026 GB, free: 1.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2619, allocations: 177.7 kB / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2619, allocations: 0 / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/0.262, allocations: 16 kB / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.262, allocations: 3.938 kB / 1.026 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.262, allocations: 3.984 kB / 1.026 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.262, allocations: 0 / 1.026 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.262, allocations: 0 / 1.026 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.2622, allocations: 183.7 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2623, allocations: 85.14 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2623, allocations: 8 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2624, allocations: 3.984 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.2624, allocations: 7.984 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2624, allocations: 3.938 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.2625, allocations: 83.28 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.723e-06/0.2625, allocations: 4 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002396/0.2627, allocations: 15.94 kB / 1.027 GB, free: 1.004 MB / 0.795 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.0001177/0.2628, allocations: 99.25 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.2629, allocations: 47.89 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.263, allocations: 0 / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.263, allocations: 20.19 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2632, allocations: 14.81 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.2638, allocations: 314.3 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.264, allocations: 0.6846 MB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.2641, allocations: 11.84 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.2641, allocations: 11.44 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2641, allocations: 0 / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of Templates: time 0.002994/0.2671, allocations: 0.6198 MB / 1.029 GB, free: 15.14 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches