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.008087/0.008087, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001955/0.001956, allocations: 189 kB / 16.68 MB, free: 6.367 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.86 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3407, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.007/1.348, allocations: 187.3 MB / 1.271 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02276/1.371, allocations: 13.08 MB / 1.284 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/1.374, allocations: 34.47 kB / 1.284 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002082/1.376, allocations: 434.5 kB / 1.284 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/1.381, allocations: 1.208 MB / 1.285 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/1.383, allocations: 0.7033 MB / 1.286 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004648/1.388, allocations: 2.02 MB / 1.288 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/1.39, allocations: 0.8409 MB / 1.289 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006666/1.397, allocations: 1.881 MB / 1.291 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/1.399, allocations: 0.6631 MB / 1.291 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/1.399, allocations: 79.94 kB / 1.291 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/1.403, allocations: 0.8775 MB / 1.292 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007433/1.403, allocations: 388.5 kB / 1.292 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.405, allocations: 0.4973 MB / 1.293 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004011/1.409, allocations: 1.5 MB / 1.294 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.409, allocations: 0.7969 kB / 1.294 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/1.409, allocations: 0.875 kB / 1.294 GB, free: 3.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.728e-05/1.409, allocations: 1.094 kB / 1.294 GB, free: 3.102 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.002402/1.411, allocations: 1.264 MB / 1.296 GB, free: 2.371 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.411, allocations: 9 kB / 1.296 GB, free: 2.371 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.412, allocations: 218.2 kB / 1.296 GB, free: 2.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/1.414, allocations: 0.6975 MB / 1.297 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/1.414, allocations: 58.03 kB / 1.297 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.414, allocations: 76.88 kB / 1.297 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/1.416, allocations: 0.9336 MB / 1.298 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.416, allocations: 6 kB / 1.298 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/1.416, allocations: 35.08 kB / 1.298 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/1.416, allocations: 27.92 kB / 1.298 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.417, allocations: 0.6196 MB / 1.298 GB, free: 1.742 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.005354/1.422, allocations: 4.581 MB / 1.303 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/1.423, allocations: 0.5397 MB / 1.303 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/1.424, allocations: 251.3 kB / 1.304 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/1.424, allocations: 111.1 kB / 1.304 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.424, allocations: 38.78 kB / 1.304 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.357e-06/1.424, allocations: 0.8438 kB / 1.304 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00313/1.427, allocations: 1.612 MB / 1.305 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.427, allocations: 109.5 kB / 1.305 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.428, allocations: 0.7179 MB / 1.306 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/1.428, allocations: 36.36 kB / 1.306 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/1.429, allocations: 427.4 kB / 1.307 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/1.429, allocations: 167.8 kB / 1.307 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.429, allocations: 114.8 kB / 1.307 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.429, allocations: 331.5 kB / 1.307 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/1.43, allocations: 189.3 kB / 1.307 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/1.43, allocations: 418.5 kB / 1.308 GB, free: 12.45 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.002294/1.432, allocations: 1.183 MB / 1.309 GB, free: 12.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.432, allocations: 3.281 kB / 1.309 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001123/1.434, allocations: 0.6668 MB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.434, allocations: 8.656 kB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.434, allocations: 6.938 kB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.434, allocations: 10.56 kB / 1.31 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/1.434, allocations: 128.9 kB / 1.31 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/1.434, allocations: 13.77 kB / 1.31 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.435, allocations: 33.53 kB / 1.31 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/1.435, allocations: 30.7 kB / 1.31 GB, free: 12.02 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.0004609/1.435, allocations: 273.8 kB / 1.31 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.436, allocations: 84.98 kB / 1.31 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/1.436, allocations: 91.34 kB / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.436, allocations: 4.781 kB / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.436, allocations: 2.469 kB / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007947/1.437, allocations: 0.7058 MB / 1.311 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/1.439, allocations: 1.643 MB / 1.312 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.439, allocations: 8.406 kB / 1.312 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/1.44, allocations: 98.42 kB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.44, allocations: 7 kB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/1.44, allocations: 15.94 kB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.44, allocations: 13.03 kB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.44, allocations: 4.469 kB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/1.441, allocations: 0.8795 MB / 1.313 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/1.441, allocations: 207.6 kB / 1.314 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.441, allocations: 17.55 kB / 1.314 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/1.442, allocations: 16.53 kB / 1.314 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/1.442, allocations: 43.83 kB / 1.314 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/1.442, allocations: 22.28 kB / 1.314 GB, free: 10.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006669/1.443, allocations: 0.5098 MB / 1.314 GB, free: 10.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.443, allocations: 0 / 1.314 GB, free: 10.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001017/1.444, allocations: 202.4 kB / 1.314 GB, free: 10.23 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.0005353/1.444, allocations: 213.7 kB / 1.315 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000834/1.445, allocations: 489.8 kB / 1.315 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.445, allocations: 1.062 kB / 1.315 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/1.445, allocations: 208.8 kB / 1.315 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.448, allocations: 484.4 kB / 1.316 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/1.45, allocations: 1.678 MB / 1.317 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/1.451, allocations: 1.033 MB / 1.318 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007033/1.452, allocations: 198.2 kB / 1.319 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.452, allocations: 60.72 kB / 1.319 GB, free: 8.5 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.452, allocations: 0 / 1.319 GB, free: 8.5 MB / 1.029 GB Notification: Performance of Templates: time 0.02604/1.478, allocations: 15.18 MB / 1.333 GB, free: 7.574 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