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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001755/0.001755, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001789/0.001789, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.594/1.594, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.005/3.005, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8101, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002781/0.8129, allocations: 1.322 MB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.8172, allocations: 3.237 MB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.8173, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.8173, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.8174, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.818, allocations: 95.61 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.818, allocations: 35.89 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.8181, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.8181, allocations: 19.88 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.8182, allocations: 15.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.8182, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.8185, allocations: 83.81 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.8185, allocations: 15.91 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.8186, allocations: 8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.8188, allocations: 69.81 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8188, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8188, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8188, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 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.0005081/0.8193, allocations: 343.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8194, allocations: 15.95 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.8195, allocations: 8.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.8197, allocations: 172.2 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8197, allocations: 4.375 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.8197, allocations: 4.375 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8199, allocations: 53.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8199, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8199, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8199, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.82, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.8202, allocations: 173.6 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.8204, allocations: 54.58 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.8204, allocations: 17 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/0.8212, allocations: 0.5945 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.8213, allocations: 42.56 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.8213, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007084/0.822, allocations: 298.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.8221, allocations: 51.41 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.8222, allocations: 105.8 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.8222, allocations: 25.7 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.8223, allocations: 92.11 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.8223, allocations: 31.64 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.8223, allocations: 25.62 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8225, allocations: 322.8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.8226, allocations: 12 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.8226, allocations: 61.08 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.8227, allocations: 73.08 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.8227, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001537/0.8229, allocations: 93.55 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8229, allocations: 8.062 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8229, allocations: 4 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.823, allocations: 4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.823, allocations: 20 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.8231, allocations: 4 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.8231, allocations: 3.938 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.8231, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 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 0.0001295/0.8232, allocations: 121.8 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.8233, allocations: 0 / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.8233, allocations: 15.97 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8233, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8233, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8234, allocations: 3.938 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.8236, allocations: 174.1 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8236, allocations: 0 / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.8237, allocations: 23.98 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8237, allocations: 288 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8238, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8238, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8238, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.824, allocations: 191.3 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.8241, allocations: 77.11 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.8241, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.8242, allocations: 8 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.8242, allocations: 7.984 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.8243, allocations: 3.938 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.8243, allocations: 79.28 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8243, allocations: 4 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002352/0.8246, allocations: 12 kB / 1.025 GB, free: 9.926 MB / 0.7794 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.0001805/0.8247, allocations: 111.6 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.8249, allocations: 43.86 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8249, allocations: 4 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.8249, allocations: 15.94 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.8253, allocations: 10.59 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.826, allocations: 332.2 kB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.8264, allocations: 0.6848 MB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.8265, allocations: 11.86 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.8265, allocations: 11.44 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.8266, allocations: 0 / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of Templates: time 0.003477/0.83, allocations: 0.5906 MB / 1.027 GB, free: 8.062 MB / 0.7794 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches