Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001585/0.001585, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002093/0.002093, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.856/2.856, allocations: 461.8 MB / 0.7343 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.59 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3251, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1946/0.5197, allocations: 184.9 MB / 1.233 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.5364, allocations: 12.96 MB / 1.245 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.5377, allocations: 31.81 kB / 1.245 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.5394, allocations: 362 kB / 1.246 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.5427, allocations: 1.081 MB / 1.247 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.5446, allocations: 0.6413 MB / 1.247 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6715/1.216, allocations: 2.013 MB / 1.249 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/1.218, allocations: 0.807 MB / 1.25 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/1.222, allocations: 1.774 MB / 1.252 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.224, allocations: 0.6982 MB / 1.253 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/1.224, allocations: 83.59 kB / 1.253 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/1.226, allocations: 0.9093 MB / 1.254 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003912/1.226, allocations: 390.6 kB / 1.254 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/1.227, allocations: 0.4981 MB / 1.254 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/1.229, allocations: 1.528 MB / 1.256 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.229, allocations: 0.9688 kB / 1.256 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.229, allocations: 2.625 kB / 1.256 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.899e-05/1.229, allocations: 0 / 1.256 GB, free: 3.48 MB / 0.9981 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.002144/1.231, allocations: 1.233 MB / 1.257 GB, free: 18.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.232, allocations: 9.344 kB / 1.257 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.233, allocations: 218 kB / 1.257 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.234, allocations: 0.6507 MB / 1.258 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/1.234, allocations: 56.53 kB / 1.258 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.234, allocations: 73.75 kB / 1.258 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.235, allocations: 0.9339 MB / 1.259 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.235, allocations: 2.906 kB / 1.259 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/1.236, allocations: 35.78 kB / 1.259 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/1.236, allocations: 30.47 kB / 1.259 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.237, allocations: 0.6141 MB / 1.26 GB, free: 18.18 MB / 1.014 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.005007/1.242, allocations: 4.596 MB / 1.264 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/1.243, allocations: 0.5398 MB / 1.265 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/1.243, allocations: 249.8 kB / 1.265 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.243, allocations: 105.1 kB / 1.265 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.243, allocations: 41.94 kB / 1.265 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.786e-06/1.243, allocations: 1.75 kB / 1.265 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003698/1.247, allocations: 1.58 MB / 1.267 GB, free: 14.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/1.247, allocations: 108.9 kB / 1.267 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/1.248, allocations: 0.7187 MB / 1.267 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/1.248, allocations: 37.83 kB / 1.268 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/1.249, allocations: 418.9 kB / 1.268 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.249, allocations: 156.4 kB / 1.268 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.249, allocations: 124.1 kB / 1.268 GB, free: 13.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.249, allocations: 329.5 kB / 1.269 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.25, allocations: 190.2 kB / 1.269 GB, free: 13.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/1.25, allocations: 430.6 kB / 1.269 GB, free: 12.94 MB / 1.014 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.002419/1.253, allocations: 1.176 MB / 1.27 GB, free: 12.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.253, allocations: 3.031 kB / 1.27 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/1.254, allocations: 0.6657 MB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.254, allocations: 9.344 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.254, allocations: 6.375 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/1.254, allocations: 11.33 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.255, allocations: 125.3 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/1.255, allocations: 14.42 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/1.255, allocations: 68.25 kB / 1.271 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/1.255, allocations: 27.75 kB / 1.271 GB, free: 12.52 MB / 1.014 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.0005229/1.256, allocations: 271.2 kB / 1.271 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.256, allocations: 81.5 kB / 1.271 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/1.256, allocations: 89.56 kB / 1.272 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.256, allocations: 5.609 kB / 1.272 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.256, allocations: 2.062 kB / 1.272 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009343/1.257, allocations: 0.702 MB / 1.272 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/1.26, allocations: 1.648 MB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.26, allocations: 5.125 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/1.261, allocations: 101.9 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.261, allocations: 6.5 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/1.261, allocations: 14.3 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/1.261, allocations: 8.984 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.261, allocations: 10.31 kB / 1.274 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.262, allocations: 0.8592 MB / 1.275 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/1.262, allocations: 210.3 kB / 1.275 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.263, allocations: 16.42 kB / 1.275 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/1.263, allocations: 36.59 kB / 1.275 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/1.263, allocations: 42.97 kB / 1.275 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/1.263, allocations: 20.25 kB / 1.275 GB, free: 10.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007518/1.264, allocations: 0.5085 MB / 1.276 GB, free: 10.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.363e-06/1.264, allocations: 0.9062 kB / 1.276 GB, free: 10.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008641/1.265, allocations: 207.1 kB / 1.276 GB, free: 10.76 MB / 1.014 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.0004979/1.265, allocations: 201.2 kB / 1.276 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009261/1.266, allocations: 0.5209 MB / 1.277 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.266, allocations: 0.8125 kB / 1.277 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/1.267, allocations: 209.1 kB / 1.277 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.269, allocations: 486.7 kB / 1.277 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.272, allocations: 1.95 MB / 1.279 GB, free: 9.586 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007607/1.272, allocations: 1.029 MB / 1.28 GB, free: 8.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000881/1.273, allocations: 203.4 kB / 1.28 GB, free: 8.859 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.274, allocations: 62.86 kB / 1.28 GB, free: 8.852 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/1.274, allocations: 0 / 1.28 GB, free: 8.852 MB / 1.014 GB Notification: Performance of Templates: time 0.03019/1.304, allocations: 14.99 MB / 1.295 GB, free: 8.008 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches