Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006594/0.006594, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001567/0.001567, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.42 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3102, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9335/1.244, allocations: 187.3 MB / 1.271 GB, free: 3.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01751/1.261, allocations: 13.08 MB / 1.284 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/1.263, allocations: 34.97 kB / 1.284 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/1.266, allocations: 423.9 kB / 1.284 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/1.27, allocations: 1.16 MB / 1.285 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/1.273, allocations: 0.7123 MB / 1.286 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003307/1.276, allocations: 2.013 MB / 1.288 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.278, allocations: 0.8409 MB / 1.289 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006537/1.284, allocations: 1.825 MB / 1.29 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/1.287, allocations: 0.6647 MB / 1.291 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004839/1.288, allocations: 79.41 kB / 1.291 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/1.291, allocations: 0.872 MB / 1.292 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.292, allocations: 386.9 kB / 1.292 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/1.294, allocations: 0.4973 MB / 1.293 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/1.299, allocations: 1.497 MB / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/1.299, allocations: 3.297 kB / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.486e-06/1.299, allocations: 0 / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.03e-05/1.299, allocations: 0.9062 kB / 1.294 GB, free: 3.129 MB / 1.014 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.005291/1.305, allocations: 1.232 MB / 1.296 GB, free: 2.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.305, allocations: 9.656 kB / 1.296 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/1.307, allocations: 217 kB / 1.296 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/1.309, allocations: 0.6809 MB / 1.296 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/1.31, allocations: 58.22 kB / 1.296 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/1.31, allocations: 81.31 kB / 1.297 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.312, allocations: 0.9307 MB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/1.312, allocations: 5.438 kB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.312, allocations: 34.12 kB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/1.312, allocations: 28.56 kB / 1.298 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.314, allocations: 0.6203 MB / 1.298 GB, free: 1.816 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.007331/1.321, allocations: 4.577 MB / 1.303 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/1.322, allocations: 0.5414 MB / 1.303 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/1.323, allocations: 245.4 kB / 1.303 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/1.323, allocations: 106.8 kB / 1.303 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.323, allocations: 46.14 kB / 1.304 GB, free: 14.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/1.323, allocations: 0 / 1.304 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00498/1.328, allocations: 1.585 MB / 1.305 GB, free: 13.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.328, allocations: 116.1 kB / 1.305 GB, free: 13.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/1.33, allocations: 0.7191 MB / 1.306 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/1.33, allocations: 34.98 kB / 1.306 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/1.33, allocations: 411.5 kB / 1.306 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/1.331, allocations: 167.1 kB / 1.306 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/1.331, allocations: 119.1 kB / 1.307 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.331, allocations: 328.8 kB / 1.307 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/1.332, allocations: 188.3 kB / 1.307 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/1.332, allocations: 417.6 kB / 1.307 GB, free: 12.56 MB / 1.029 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.003129/1.335, allocations: 1.181 MB / 1.309 GB, free: 12.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.335, allocations: 1.188 kB / 1.309 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001511/1.337, allocations: 0.6649 MB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.337, allocations: 8.719 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.337, allocations: 5.531 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/1.337, allocations: 10.97 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/1.338, allocations: 128.1 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.338, allocations: 11.88 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/1.339, allocations: 37.28 kB / 1.309 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/1.339, allocations: 30.97 kB / 1.309 GB, free: 12.14 MB / 1.029 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.000605/1.339, allocations: 276.4 kB / 1.31 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/1.34, allocations: 79.34 kB / 1.31 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/1.34, allocations: 92.94 kB / 1.31 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.34, allocations: 5.094 kB / 1.31 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.34, allocations: 1.812 kB / 1.31 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.341, allocations: 0.7029 MB / 1.311 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/1.345, allocations: 1.636 MB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.345, allocations: 6.016 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/1.345, allocations: 99.89 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.345, allocations: 6.406 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/1.345, allocations: 15.12 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/1.345, allocations: 10.03 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.345, allocations: 7.812 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/1.347, allocations: 0.8692 MB / 1.313 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.347, allocations: 208.4 kB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.348, allocations: 21.91 kB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/1.348, allocations: 15.22 kB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/1.348, allocations: 39.69 kB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/1.348, allocations: 26.73 kB / 1.313 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009186/1.349, allocations: 0.5103 MB / 1.314 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.349, allocations: 0 / 1.314 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009079/1.35, allocations: 204.1 kB / 1.314 GB, free: 10.37 MB / 1.029 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.0004765/1.351, allocations: 205.5 kB / 1.314 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00082/1.352, allocations: 489.2 kB / 1.315 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.352, allocations: 2.25 kB / 1.315 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/1.352, allocations: 208.7 kB / 1.315 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.354, allocations: 484.4 kB / 1.316 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/1.357, allocations: 1.666 MB / 1.317 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/1.358, allocations: 1.026 MB / 1.318 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007461/1.358, allocations: 201.8 kB / 1.318 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/1.359, allocations: 64.52 kB / 1.318 GB, free: 8.66 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/1.359, allocations: 0 / 1.318 GB, free: 8.66 MB / 1.029 GB Notification: Performance of Templates: time 0.02689/1.385, allocations: 15.42 MB / 1.333 GB, free: 7.652 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches