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.001138/0.001138, allocations: 106.5 kB / 16.41 MB, free: 5.973 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.001265/0.001264, allocations: 186.9 kB / 17.34 MB, free: 5.586 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 / 241 MB, free: 15.09 MB / 206.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.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2375/1.241, allocations: 187.3 MB / 1.272 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01856/1.26, allocations: 13.07 MB / 1.284 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.261, allocations: 35.81 kB / 1.284 GB, free: 5.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/1.263, allocations: 421.2 kB / 1.285 GB, free: 4.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/1.267, allocations: 1.163 MB / 1.286 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.269, allocations: 0.6998 MB / 1.287 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003041/1.272, allocations: 2.024 MB / 1.289 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/1.274, allocations: 0.8356 MB / 1.289 GB, free: 208 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/1.278, allocations: 1.829 MB / 1.291 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/1.28, allocations: 0.6587 MB / 1.292 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/1.28, allocations: 80 kB / 1.292 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/1.283, allocations: 0.873 MB / 1.293 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000602/1.283, allocations: 390.9 kB / 1.293 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/1.284, allocations: 0.4976 MB / 1.294 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/1.287, allocations: 1.499 MB / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.287, allocations: 0 / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.113e-06/1.287, allocations: 0 / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.171e-05/1.288, allocations: 4 kB / 1.295 GB, free: 10.37 MB / 1.029 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.002574/1.29, allocations: 1.231 MB / 1.296 GB, free: 9.082 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.29, allocations: 8.031 kB / 1.296 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.291, allocations: 222.6 kB / 1.296 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/1.293, allocations: 0.6793 MB / 1.297 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/1.293, allocations: 58 kB / 1.297 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.293, allocations: 79.91 kB / 1.297 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.295, allocations: 0.9288 MB / 1.298 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/1.295, allocations: 7.938 kB / 1.298 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/1.295, allocations: 35.94 kB / 1.298 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/1.295, allocations: 25.31 kB / 1.298 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.296, allocations: 0.6216 MB / 1.299 GB, free: 6.301 MB / 1.029 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.005171/1.301, allocations: 4.57 MB / 1.303 GB, free: 1.438 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/1.302, allocations: 0.5464 MB / 1.304 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/1.302, allocations: 247.1 kB / 1.304 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.302, allocations: 112.9 kB / 1.304 GB, free: 480 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.302, allocations: 42.5 kB / 1.304 GB, free: 428 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.302, allocations: 3.938 kB / 1.304 GB, free: 424 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.003082/1.306, allocations: 1.588 MB / 1.306 GB, free: 14.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.306, allocations: 110.8 kB / 1.306 GB, free: 14.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/1.306, allocations: 0.7155 MB / 1.307 GB, free: 13.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/1.307, allocations: 33.7 kB / 1.307 GB, free: 13.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/1.307, allocations: 411.8 kB / 1.307 GB, free: 13.46 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.307, allocations: 165.6 kB / 1.307 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/1.307, allocations: 118.2 kB / 1.307 GB, free: 13.17 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.307, allocations: 330 kB / 1.308 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.308, allocations: 189.2 kB / 1.308 GB, free: 12.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/1.308, allocations: 417.5 kB / 1.308 GB, free: 12.16 MB / 1.045 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.002206/1.31, allocations: 1.184 MB / 1.309 GB, free: 10.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.31, allocations: 4 kB / 1.309 GB, free: 10.87 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001004/1.311, allocations: 0.6607 MB / 1.31 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.311, allocations: 15.94 kB / 1.31 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.311, allocations: 11.92 kB / 1.31 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.311, allocations: 12 kB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.312, allocations: 119.8 kB / 1.31 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/1.312, allocations: 15.94 kB / 1.31 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/1.312, allocations: 35.83 kB / 1.31 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/1.313, allocations: 24 kB / 1.31 GB, free: 9.969 MB / 1.045 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.0003742/1.313, allocations: 269.6 kB / 1.31 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.313, allocations: 87 kB / 1.311 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/1.313, allocations: 95.66 kB / 1.311 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.313, allocations: 4 kB / 1.311 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.313, allocations: 0 / 1.311 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007167/1.314, allocations: 0.696 MB / 1.311 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/1.316, allocations: 1.647 MB / 1.313 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.316, allocations: 4 kB / 1.313 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/1.317, allocations: 95.88 kB / 1.313 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.317, allocations: 7.938 kB / 1.313 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/1.317, allocations: 16 kB / 1.313 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.317, allocations: 11.94 kB / 1.313 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.317, allocations: 4.375 kB / 1.313 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.318, allocations: 0.8728 MB / 1.314 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/1.318, allocations: 212 kB / 1.314 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.319, allocations: 16 kB / 1.314 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/1.319, allocations: 16.17 kB / 1.314 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/1.319, allocations: 43.83 kB / 1.314 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/1.319, allocations: 20 kB / 1.314 GB, free: 5.574 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006456/1.32, allocations: 0.5185 MB / 1.315 GB, free: 5.062 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.21e-07/1.32, allocations: 0 / 1.315 GB, free: 5.062 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007487/1.321, allocations: 204 kB / 1.315 GB, free: 4.863 MB / 1.045 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.0004656/1.321, allocations: 195.9 kB / 1.315 GB, free: 4.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000833/1.322, allocations: 487.3 kB / 1.316 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.322, allocations: 4 kB / 1.316 GB, free: 4.199 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/1.322, allocations: 213.9 kB / 1.316 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.324, allocations: 485.5 kB / 1.316 GB, free: 3.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/1.327, allocations: 1.708 MB / 1.318 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/1.328, allocations: 1.028 MB / 1.319 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.328, allocations: 67.44 kB / 1.319 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/1.328, allocations: 0 / 1.319 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of Templates: time 0.01972/1.348, allocations: 12.98 MB / 1.332 GB, free: 3.762 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches