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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 61.41 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.361, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8391/1.2, allocations: 187.3 MB / 1.251 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.216, allocations: 13.07 MB / 1.264 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/1.217, allocations: 34.78 kB / 1.264 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/1.218, allocations: 424 kB / 1.264 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/1.221, allocations: 1.16 MB / 1.265 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.222, allocations: 0.6936 MB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00197/1.224, allocations: 2.022 MB / 1.268 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/1.225, allocations: 0.8403 MB / 1.269 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/1.229, allocations: 1.812 MB / 1.271 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/1.23, allocations: 0.6574 MB / 1.271 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.231, allocations: 80.91 kB / 1.271 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/1.232, allocations: 0.8669 MB / 1.272 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/1.233, allocations: 386.8 kB / 1.273 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/1.234, allocations: 0.4966 MB / 1.273 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/1.236, allocations: 1.473 MB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.236, allocations: 0 / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.236, allocations: 3.969 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.018e-05/1.236, allocations: 0 / 1.275 GB, free: 5.465 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.002207/1.238, allocations: 1.232 MB / 1.276 GB, free: 20.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.238, allocations: 10.75 kB / 1.276 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.239, allocations: 222.4 kB / 1.276 GB, free: 20.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/1.24, allocations: 0.6419 MB / 1.277 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/1.241, allocations: 56.22 kB / 1.277 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.241, allocations: 82.28 kB / 1.277 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/1.242, allocations: 0.9403 MB / 1.278 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/1.242, allocations: 5.594 kB / 1.278 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/1.242, allocations: 37.72 kB / 1.278 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/1.242, allocations: 28.67 kB / 1.278 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.243, allocations: 0.615 MB / 1.278 GB, free: 20.15 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.004394/1.248, allocations: 4.6 MB / 1.283 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/1.249, allocations: 0.5447 MB / 1.283 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/1.249, allocations: 249.8 kB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/1.249, allocations: 103 kB / 1.284 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.249, allocations: 39.59 kB / 1.284 GB, free: 16.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/1.249, allocations: 0.5938 kB / 1.284 GB, free: 16.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002684/1.252, allocations: 1.593 MB / 1.285 GB, free: 16.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.252, allocations: 108.7 kB / 1.285 GB, free: 15.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/1.253, allocations: 0.7151 MB / 1.286 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/1.253, allocations: 35.52 kB / 1.286 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.253, allocations: 416.8 kB / 1.286 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/1.253, allocations: 164.5 kB / 1.287 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.254, allocations: 116.6 kB / 1.287 GB, free: 15.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.254, allocations: 334.1 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/1.254, allocations: 184.2 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/1.254, allocations: 415.7 kB / 1.288 GB, free: 14.9 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.002179/1.257, allocations: 1.182 MB / 1.289 GB, free: 14.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.257, allocations: 8.172 kB / 1.289 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009979/1.258, allocations: 0.6711 MB / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.258, allocations: 9.625 kB / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.258, allocations: 8.672 kB / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.258, allocations: 9.219 kB / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/1.258, allocations: 129.2 kB / 1.29 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.258, allocations: 14.61 kB / 1.29 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/1.259, allocations: 23.58 kB / 1.29 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/1.259, allocations: 29 kB / 1.29 GB, free: 14.48 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.0003653/1.259, allocations: 278.2 kB / 1.29 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.259, allocations: 80.8 kB / 1.29 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/1.259, allocations: 96.38 kB / 1.29 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.26, allocations: 5.938 kB / 1.29 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.26, allocations: 1.062 kB / 1.29 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007354/1.26, allocations: 0.7031 MB / 1.291 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/1.263, allocations: 1.646 MB / 1.292 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.263, allocations: 4.25 kB / 1.292 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/1.263, allocations: 99.95 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.263, allocations: 7.625 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.263, allocations: 14.66 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.263, allocations: 10.66 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.263, allocations: 7.719 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009971/1.264, allocations: 0.8731 MB / 1.293 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/1.264, allocations: 200.1 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.265, allocations: 17.91 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/1.265, allocations: 18.44 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.265, allocations: 39 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.265, allocations: 20.88 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006163/1.266, allocations: 0.5132 MB / 1.294 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.72e-07/1.266, allocations: 1.188 kB / 1.294 GB, free: 12.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007904/1.267, allocations: 200.9 kB / 1.294 GB, free: 12.71 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.0004077/1.267, allocations: 207.1 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008937/1.268, allocations: 0.5215 MB / 1.295 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.268, allocations: 2.5 kB / 1.295 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/1.268, allocations: 214.5 kB / 1.295 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.27, allocations: 481.1 kB / 1.296 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/1.273, allocations: 1.672 MB / 1.297 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/1.273, allocations: 1.025 MB / 1.298 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007432/1.274, allocations: 200 kB / 1.299 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.274, allocations: 66.7 kB / 1.299 GB, free: 11.02 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.274, allocations: 4 kB / 1.299 GB, free: 11.02 MB / 1.014 GB Notification: Performance of Templates: time 0.02534/1.3, allocations: 15.07 MB / 1.313 GB, free: 10.12 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