Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001467/0.001467, allocations: 110.4 kB / 16.41 MB, free: 6.492 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.001577/0.001577, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9639/0.9653, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2168/1.182, allocations: 187.3 MB / 1.35 GB, free: 7.898 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01902/1.201, allocations: 13.07 MB / 1.363 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/1.203, allocations: 31.81 kB / 1.363 GB, free: 10.76 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.205, allocations: 437.2 kB / 1.363 GB, free: 10.33 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/1.209, allocations: 1.207 MB / 1.365 GB, free: 9.117 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.211, allocations: 0.7144 MB / 1.365 GB, free: 8.406 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003442/1.215, allocations: 2.02 MB / 1.367 GB, free: 6.383 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/1.216, allocations: 0.8433 MB / 1.368 GB, free: 5.516 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004844/1.221, allocations: 1.876 MB / 1.37 GB, free: 3.633 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/1.223, allocations: 0.6628 MB / 1.371 GB, free: 2.973 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/1.223, allocations: 80 kB / 1.371 GB, free: 2.895 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/1.226, allocations: 0.877 MB / 1.372 GB, free: 2.016 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007376/1.226, allocations: 387 kB / 1.372 GB, free: 1.637 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/1.227, allocations: 0.5015 MB / 1.372 GB, free: 1.133 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003322/1.231, allocations: 1.492 MB / 1.374 GB, free: 15.63 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.231, allocations: 0 / 1.374 GB, free: 15.63 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.804e-06/1.231, allocations: 0 / 1.374 GB, free: 15.63 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.488e-05/1.231, allocations: 0 / 1.374 GB, free: 15.63 MB / 1.107 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.002955/1.234, allocations: 1.239 MB / 1.375 GB, free: 14.35 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.234, allocations: 12.92 kB / 1.375 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/1.235, allocations: 214.6 kB / 1.375 GB, free: 14.12 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/1.237, allocations: 0.6832 MB / 1.376 GB, free: 13.4 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/1.237, allocations: 61.94 kB / 1.376 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.237, allocations: 76 kB / 1.376 GB, free: 13.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.239, allocations: 0.9309 MB / 1.377 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.239, allocations: 7.938 kB / 1.377 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/1.239, allocations: 35.94 kB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/1.239, allocations: 33.3 kB / 1.377 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/1.24, allocations: 0.6099 MB / 1.378 GB, free: 11.56 MB / 1.107 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.005187/1.245, allocations: 4.578 MB / 1.382 GB, free: 6.688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/1.246, allocations: 0.5558 MB / 1.383 GB, free: 6.086 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/1.247, allocations: 238.5 kB / 1.383 GB, free: 5.844 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/1.247, allocations: 101.1 kB / 1.383 GB, free: 5.727 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/1.247, allocations: 46.5 kB / 1.383 GB, free: 5.672 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 3.256e-06/1.247, allocations: 0 / 1.383 GB, free: 5.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003304/1.25, allocations: 1.581 MB / 1.385 GB, free: 4.027 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.25, allocations: 115 kB / 1.385 GB, free: 3.891 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/1.251, allocations: 0.7116 MB / 1.385 GB, free: 3.172 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/1.251, allocations: 37.7 kB / 1.385 GB, free: 3.129 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/1.252, allocations: 419.7 kB / 1.386 GB, free: 2.711 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.252, allocations: 157.8 kB / 1.386 GB, free: 2.555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/1.252, allocations: 122.2 kB / 1.386 GB, free: 2.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.252, allocations: 330 kB / 1.386 GB, free: 2.102 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/1.252, allocations: 185.2 kB / 1.387 GB, free: 1.922 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/1.253, allocations: 421 kB / 1.387 GB, free: 1.414 MB / 1.107 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.002267/1.255, allocations: 1.178 MB / 1.388 GB, free: 136 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.255, allocations: 0 / 1.388 GB, free: 136 kB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001077/1.256, allocations: 0.6714 MB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.256, allocations: 12.72 kB / 1.389 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.256, allocations: 4 kB / 1.389 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/1.256, allocations: 19.94 kB / 1.389 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.257, allocations: 119.8 kB / 1.389 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/1.257, allocations: 19.92 kB / 1.389 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/1.258, allocations: 27.94 kB / 1.389 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/1.258, allocations: 27.98 kB / 1.389 GB, free: 15.22 MB / 1.123 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.0004257/1.258, allocations: 273.5 kB / 1.389 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.258, allocations: 87 kB / 1.389 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/1.258, allocations: 91.67 kB / 1.389 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.258, allocations: 4 kB / 1.389 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.258, allocations: 0 / 1.389 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007541/1.259, allocations: 0.7027 MB / 1.39 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/1.262, allocations: 1.646 MB / 1.392 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.262, allocations: 7.984 kB / 1.392 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/1.262, allocations: 95.89 kB / 1.392 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/1.262, allocations: 11.94 kB / 1.392 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.262, allocations: 16 kB / 1.392 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/1.262, allocations: 7.938 kB / 1.392 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.262, allocations: 4 kB / 1.392 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.264, allocations: 0.8648 MB / 1.393 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/1.264, allocations: 204.1 kB / 1.393 GB, free: 10.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.264, allocations: 15.98 kB / 1.393 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/1.265, allocations: 20.19 kB / 1.393 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/1.265, allocations: 47.83 kB / 1.393 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.265, allocations: 16 kB / 1.393 GB, free: 10.84 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006793/1.265, allocations: 0.5146 MB / 1.393 GB, free: 10.33 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.265, allocations: 0 / 1.393 GB, free: 10.33 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008105/1.266, allocations: 204 kB / 1.394 GB, free: 10.13 MB / 1.123 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.0005597/1.267, allocations: 211.2 kB / 1.394 GB, free: 9.938 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008227/1.268, allocations: 484.3 kB / 1.394 GB, free: 9.465 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.268, allocations: 0 / 1.394 GB, free: 9.465 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/1.268, allocations: 209.2 kB / 1.395 GB, free: 9.262 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.27, allocations: 474.7 kB / 1.395 GB, free: 8.809 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/1.273, allocations: 1.712 MB / 1.397 GB, free: 7.008 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.274, allocations: 1.032 MB / 1.398 GB, free: 5.949 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.274, allocations: 71.42 kB / 1.398 GB, free: 5.879 MB / 1.123 GB Notification: Performance of SimCode: time 6.61e-07/1.274, allocations: 0 / 1.398 GB, free: 5.879 MB / 1.123 GB Notification: Performance of Templates: time 0.0218/1.296, allocations: 12.98 MB / 1.41 GB, free: 9.031 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches