Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00803/0.00803, allocations: 105 kB / 15.73 MB, free: 6.004 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.00162/0.00162, allocations: 191.1 kB / 16.67 MB, free: 5.922 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.84 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9396/0.9411, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2114/1.152, allocations: 187.8 MB / 1.404 GB, free: 5.645 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01685/1.169, allocations: 13.1 MB / 1.417 GB, free: 8.512 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/1.171, allocations: 35.81 kB / 1.417 GB, free: 8.477 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/1.172, allocations: 441.1 kB / 1.417 GB, free: 8.043 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/1.176, allocations: 1.202 MB / 1.418 GB, free: 6.836 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/1.178, allocations: 0.719 MB / 1.419 GB, free: 6.121 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00264/1.18, allocations: 2.016 MB / 1.421 GB, free: 4.098 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/1.181, allocations: 0.699 MB / 1.422 GB, free: 3.375 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/1.185, allocations: 1.876 MB / 1.424 GB, free: 1.492 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.187, allocations: 0.6608 MB / 1.424 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/1.187, allocations: 80 kB / 1.424 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.189, allocations: 0.8809 MB / 1.425 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/1.189, allocations: 398.8 kB / 1.426 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006101/1.19, allocations: 0.5015 MB / 1.426 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/1.192, allocations: 1.495 MB / 1.428 GB, free: 13.48 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.192, allocations: 0 / 1.428 GB, free: 13.48 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.223e-06/1.192, allocations: 0 / 1.428 GB, free: 13.48 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.949e-05/1.192, allocations: 0 / 1.428 GB, free: 13.48 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001859/1.194, allocations: 1.269 MB / 1.429 GB, free: 12.16 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.194, allocations: 8.031 kB / 1.429 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/1.195, allocations: 223.1 kB / 1.429 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.196, allocations: 0.6915 MB / 1.43 GB, free: 11.2 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/1.196, allocations: 61.94 kB / 1.43 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.196, allocations: 76 kB / 1.43 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.198, allocations: 0.9288 MB / 1.431 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.198, allocations: 7.938 kB / 1.431 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/1.198, allocations: 35.94 kB / 1.431 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/1.198, allocations: 29.31 kB / 1.431 GB, free: 9.98 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/1.199, allocations: 0.6216 MB / 1.431 GB, free: 9.355 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/1.203, allocations: 4.587 MB / 1.436 GB, free: 4.477 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/1.204, allocations: 0.5231 MB / 1.436 GB, free: 3.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/1.205, allocations: 230.5 kB / 1.437 GB, free: 3.676 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/1.205, allocations: 101.1 kB / 1.437 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/1.205, allocations: 50.5 kB / 1.437 GB, free: 3.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/1.205, allocations: 0 / 1.437 GB, free: 3.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002985/1.208, allocations: 1.62 MB / 1.438 GB, free: 1.824 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.208, allocations: 110.8 kB / 1.438 GB, free: 1.691 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/1.209, allocations: 0.7158 MB / 1.439 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/1.209, allocations: 37.7 kB / 1.439 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/1.209, allocations: 420.6 kB / 1.44 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/1.209, allocations: 170.6 kB / 1.44 GB, free: 348 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.209, allocations: 118.2 kB / 1.44 GB, free: 220 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.21, allocations: 334 kB / 1.44 GB, free: 15.88 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/1.21, allocations: 185.2 kB / 1.44 GB, free: 15.7 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/1.21, allocations: 421 kB / 1.441 GB, free: 15.2 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/1.213, allocations: 1.182 MB / 1.442 GB, free: 13.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.213, allocations: 0 / 1.442 GB, free: 13.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001003/1.214, allocations: 0.6796 MB / 1.443 GB, free: 13.22 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.214, allocations: 11.94 kB / 1.443 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.214, allocations: 11.94 kB / 1.443 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.214, allocations: 8.75 kB / 1.443 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/1.214, allocations: 123.8 kB / 1.443 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.214, allocations: 23.91 kB / 1.443 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/1.215, allocations: 27.88 kB / 1.443 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/1.215, allocations: 28 kB / 1.443 GB, free: 12.99 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004057/1.215, allocations: 275.5 kB / 1.443 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.215, allocations: 91.41 kB / 1.443 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/1.215, allocations: 83.67 kB / 1.443 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.215, allocations: 8 kB / 1.443 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.215, allocations: 0 / 1.443 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007318/1.216, allocations: 0.7066 MB / 1.444 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/1.219, allocations: 1.638 MB / 1.446 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.219, allocations: 4.5 kB / 1.446 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/1.219, allocations: 103.9 kB / 1.446 GB, free: 9.891 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.219, allocations: 11.94 kB / 1.446 GB, free: 9.879 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/1.219, allocations: 12 kB / 1.446 GB, free: 9.867 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.219, allocations: 7.938 kB / 1.446 GB, free: 9.859 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.219, allocations: 4 kB / 1.446 GB, free: 9.855 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.22, allocations: 0.8693 MB / 1.447 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/1.22, allocations: 208.5 kB / 1.447 GB, free: 8.695 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.221, allocations: 19.98 kB / 1.447 GB, free: 8.676 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/1.221, allocations: 12 kB / 1.447 GB, free: 8.664 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/1.221, allocations: 47.83 kB / 1.447 GB, free: 8.617 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.221, allocations: 16.19 kB / 1.447 GB, free: 8.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006507/1.222, allocations: 0.5107 MB / 1.447 GB, free: 8.094 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.222, allocations: 0 / 1.447 GB, free: 8.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008214/1.223, allocations: 199.9 kB / 1.447 GB, free: 7.898 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0005249/1.223, allocations: 223.1 kB / 1.448 GB, free: 7.688 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007871/1.224, allocations: 457 kB / 1.448 GB, free: 7.242 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.224, allocations: 4 kB / 1.448 GB, free: 7.238 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.224, allocations: 199.7 kB / 1.448 GB, free: 7.043 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/1.226, allocations: 484.6 kB / 1.449 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/1.229, allocations: 1.674 MB / 1.45 GB, free: 4.824 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/1.229, allocations: 1.032 MB / 1.451 GB, free: 3.766 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0006266/1.23, allocations: 195 kB / 1.452 GB, free: 3.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/1.23, allocations: 71.42 kB / 1.452 GB, free: 3.5 MB / 1.17 GB Notification: Performance of SimCode: time 7.82e-07/1.23, allocations: 0 / 1.452 GB, free: 3.5 MB / 1.17 GB Notification: Performance of Templates: time 0.02909/1.259, allocations: 15.25 MB / 1.467 GB, free: 4.488 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches