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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001182/0.001182, allocations: 106.6 kB / 16.36 MB, free: 5.824 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.001278/0.001278, allocations: 191 kB / 17.29 MB, free: 5.48 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.14 kB / 0.814 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7637/1.063, allocations: 187.3 MB / 1.134 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.082, allocations: 13.07 MB / 1.147 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/1.084, allocations: 32.25 kB / 1.147 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/1.086, allocations: 425 kB / 1.147 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004249/1.09, allocations: 1.149 MB / 1.148 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/1.092, allocations: 0.708 MB / 1.149 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003283/1.096, allocations: 2.016 MB / 1.151 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/1.097, allocations: 0.8399 MB / 1.152 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/1.102, allocations: 1.806 MB / 1.154 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/1.104, allocations: 0.6704 MB / 1.154 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.104, allocations: 79.94 kB / 1.154 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/1.107, allocations: 0.8786 MB / 1.155 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004903/1.107, allocations: 386.2 kB / 1.156 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/1.108, allocations: 0.5011 MB / 1.156 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002582/1.111, allocations: 1.492 MB / 1.157 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.111, allocations: 1.406 kB / 1.157 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.111, allocations: 0 / 1.157 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.111, allocations: 0 / 1.157 GB, free: 1.711 MB / 0.8575 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.00252/1.113, allocations: 1.227 MB / 1.159 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.113, allocations: 9.344 kB / 1.159 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.115, allocations: 223.4 kB / 1.159 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.117, allocations: 0.6759 MB / 1.16 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/1.117, allocations: 61.59 kB / 1.16 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/1.117, allocations: 80.22 kB / 1.16 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/1.119, allocations: 0.9283 MB / 1.161 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.119, allocations: 9.031 kB / 1.161 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/1.119, allocations: 36.88 kB / 1.161 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/1.119, allocations: 30.88 kB / 1.161 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/1.12, allocations: 0.6195 MB / 1.161 GB, free: 15.56 MB / 0.8731 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.006499/1.127, allocations: 4.586 MB / 1.166 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.128, allocations: 0.5374 MB / 1.166 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/1.129, allocations: 248.8 kB / 1.167 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/1.129, allocations: 104.5 kB / 1.167 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/1.129, allocations: 49.69 kB / 1.167 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 3.426e-06/1.129, allocations: 0 / 1.167 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.004483/1.134, allocations: 1.581 MB / 1.168 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/1.134, allocations: 107.9 kB / 1.168 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.135, allocations: 0.7189 MB / 1.169 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/1.135, allocations: 36.73 kB / 1.169 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/1.136, allocations: 413.2 kB / 1.169 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/1.136, allocations: 162.8 kB / 1.17 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/1.136, allocations: 117.9 kB / 1.17 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.136, allocations: 326.9 kB / 1.17 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/1.137, allocations: 189 kB / 1.17 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/1.138, allocations: 419.1 kB / 1.171 GB, free: 8.617 MB / 0.8731 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.003591/1.141, allocations: 1.175 MB / 1.172 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.141, allocations: 1.125 kB / 1.172 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001376/1.143, allocations: 0.6609 MB / 1.172 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.143, allocations: 13.56 kB / 1.172 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.143, allocations: 12.03 kB / 1.172 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/1.143, allocations: 8.594 kB / 1.172 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/1.143, allocations: 125.2 kB / 1.173 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.143, allocations: 18.33 kB / 1.173 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.144, allocations: 27.31 kB / 1.173 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/1.144, allocations: 32.16 kB / 1.173 GB, free: 7.617 MB / 0.8731 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.0004759/1.144, allocations: 268.9 kB / 1.173 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/1.145, allocations: 88.78 kB / 1.173 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/1.145, allocations: 93.2 kB / 1.173 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.145, allocations: 6.906 kB / 1.173 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.145, allocations: 0 / 1.173 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007365/1.146, allocations: 0.7038 MB / 1.174 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/1.148, allocations: 1.639 MB / 1.175 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.148, allocations: 7.781 kB / 1.175 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/1.149, allocations: 98.53 kB / 1.175 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/1.149, allocations: 9.969 kB / 1.175 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.149, allocations: 17.12 kB / 1.175 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.149, allocations: 12.02 kB / 1.175 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.149, allocations: 3.562 kB / 1.175 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.15, allocations: 0.8697 MB / 1.176 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/1.15, allocations: 206.5 kB / 1.177 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.151, allocations: 23.75 kB / 1.177 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.151, allocations: 14.45 kB / 1.177 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/1.151, allocations: 41.42 kB / 1.177 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/1.151, allocations: 21.52 kB / 1.177 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006767/1.152, allocations: 0.5106 MB / 1.177 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/1.152, allocations: 0.6875 kB / 1.177 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008255/1.153, allocations: 199.6 kB / 1.177 GB, free: 4.785 MB / 0.8731 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.0005118/1.153, allocations: 200.3 kB / 1.178 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007837/1.154, allocations: 489.5 kB / 1.178 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.154, allocations: 4 kB / 1.178 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/1.154, allocations: 212.3 kB / 1.178 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/1.156, allocations: 485.1 kB / 1.179 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.159, allocations: 1.658 MB / 1.18 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.16, allocations: 1.027 MB / 1.181 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006439/1.16, allocations: 201.9 kB / 1.181 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.16, allocations: 61.42 kB / 1.182 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/1.16, allocations: 0 / 1.182 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.02536/1.186, allocations: 15.03 MB / 1.196 GB, free: 11.58 MB / 0.8887 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 -s gbode -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