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.001332/0.001332, allocations: 110.9 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.001255/0.001255, allocations: 187 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9473/0.9488, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2296/1.178, allocations: 187.3 MB / 1.272 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01635/1.195, allocations: 13.08 MB / 1.284 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/1.197, allocations: 35.81 kB / 1.284 GB, free: 5.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/1.199, allocations: 433.2 kB / 1.285 GB, free: 4.828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003758/1.203, allocations: 1.202 MB / 1.286 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/1.205, allocations: 0.711 MB / 1.287 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003041/1.208, allocations: 2.024 MB / 1.289 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/1.209, allocations: 0.8434 MB / 1.289 GB, free: 24 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/1.213, allocations: 1.876 MB / 1.291 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/1.215, allocations: 0.66 MB / 1.292 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/1.215, allocations: 80 kB / 1.292 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/1.217, allocations: 0.877 MB / 1.293 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004149/1.218, allocations: 391 kB / 1.293 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000585/1.218, allocations: 0.5015 MB / 1.294 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/1.22, allocations: 1.492 MB / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.221, allocations: 3.984 kB / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.545e-06/1.221, allocations: 0 / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.473e-05/1.221, allocations: 0 / 1.295 GB, free: 10.14 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.001908/1.222, allocations: 1.235 MB / 1.296 GB, free: 8.848 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.223, allocations: 8.031 kB / 1.296 GB, free: 8.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.224, allocations: 214.6 kB / 1.297 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/1.225, allocations: 0.6754 MB / 1.297 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/1.225, allocations: 58 kB / 1.297 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.225, allocations: 83.91 kB / 1.297 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.226, allocations: 0.9365 MB / 1.298 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.226, allocations: 0 / 1.298 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/1.226, allocations: 35.94 kB / 1.298 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/1.227, allocations: 37.23 kB / 1.298 GB, free: 6.684 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/1.227, allocations: 0.6138 MB / 1.299 GB, free: 6.07 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.004552/1.232, allocations: 4.578 MB / 1.303 GB, free: 1.199 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/1.233, allocations: 0.5384 MB / 1.304 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/1.233, allocations: 255 kB / 1.304 GB, free: 368 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/1.233, allocations: 104.9 kB / 1.304 GB, free: 244 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.233, allocations: 38.56 kB / 1.304 GB, free: 196 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/1.233, allocations: 0 / 1.304 GB, free: 196 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002748/1.236, allocations: 1.592 MB / 1.306 GB, free: 14.54 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/1.236, allocations: 106.8 kB / 1.306 GB, free: 14.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/1.237, allocations: 0.7155 MB / 1.307 GB, free: 13.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/1.237, allocations: 37.64 kB / 1.307 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/1.237, allocations: 416 kB / 1.307 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.238, allocations: 161.7 kB / 1.307 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/1.238, allocations: 118.2 kB / 1.307 GB, free: 12.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.238, allocations: 330 kB / 1.308 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/1.238, allocations: 193.1 kB / 1.308 GB, free: 12.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/1.239, allocations: 413.6 kB / 1.308 GB, free: 11.93 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.00232/1.241, allocations: 1.184 MB / 1.309 GB, free: 10.64 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.241, allocations: 3.938 kB / 1.309 GB, free: 10.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001027/1.242, allocations: 0.6681 MB / 1.31 GB, free: 9.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.242, allocations: 11.94 kB / 1.31 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.242, allocations: 8 kB / 1.31 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.242, allocations: 8 kB / 1.31 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/1.243, allocations: 123.8 kB / 1.31 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/1.243, allocations: 15.92 kB / 1.31 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/1.243, allocations: 32.23 kB / 1.31 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.243, allocations: 32 kB / 1.31 GB, free: 9.738 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.000396/1.244, allocations: 277.6 kB / 1.311 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/1.244, allocations: 86.98 kB / 1.311 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/1.244, allocations: 83.67 kB / 1.311 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.244, allocations: 7.984 kB / 1.311 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.244, allocations: 4 kB / 1.311 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007304/1.245, allocations: 0.6999 MB / 1.311 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.247, allocations: 1.635 MB / 1.313 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.247, allocations: 4 kB / 1.313 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/1.247, allocations: 99.83 kB / 1.313 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.247, allocations: 12.44 kB / 1.313 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/1.248, allocations: 16 kB / 1.313 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.248, allocations: 4 kB / 1.313 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.248, allocations: 7.984 kB / 1.313 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.249, allocations: 0.873 MB / 1.314 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/1.249, allocations: 208 kB / 1.314 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/1.249, allocations: 19.98 kB / 1.314 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/1.249, allocations: 12 kB / 1.314 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.25, allocations: 47.83 kB / 1.314 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/1.25, allocations: 16.19 kB / 1.314 GB, free: 5.344 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005971/1.25, allocations: 0.5107 MB / 1.315 GB, free: 4.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.25, allocations: 0 / 1.315 GB, free: 4.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000701/1.251, allocations: 200 kB / 1.315 GB, free: 4.645 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.0004704/1.251, allocations: 212.8 kB / 1.315 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007873/1.252, allocations: 488.8 kB / 1.316 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.252, allocations: 0 / 1.316 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/1.252, allocations: 216 kB / 1.316 GB, free: 3.758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.254, allocations: 475.1 kB / 1.316 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.257, allocations: 1.718 MB / 1.318 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/1.258, allocations: 1.028 MB / 1.319 GB, free: 452 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.258, allocations: 67.42 kB / 1.319 GB, free: 384 kB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/1.258, allocations: 4 kB / 1.319 GB, free: 380 kB / 1.045 GB Notification: Performance of Templates: time 0.02138/1.279, allocations: 12.98 MB / 1.332 GB, free: 3.527 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