Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001266/0.001266, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001241/0.001241, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.32/1.32, 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 11.0.0-master/package.mo): time 2.525/2.525, allocations: 461.7 MB / 0.7352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 55.91 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6872, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1796/0.8668, allocations: 187.3 MB / 1.391 GB, free: 1.73 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.8813, allocations: 13.08 MB / 1.404 GB, free: 4.621 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.8821, allocations: 31.81 kB / 1.404 GB, free: 4.59 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.8832, allocations: 421.1 kB / 1.404 GB, free: 4.176 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.8856, allocations: 1.163 MB / 1.405 GB, free: 3.008 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.8872, allocations: 0.7035 MB / 1.406 GB, free: 2.309 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.8892, allocations: 2.022 MB / 1.408 GB, free: 284 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.8903, allocations: 0.8394 MB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.8939, allocations: 1.809 MB / 1.411 GB, free: 13.6 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.8953, allocations: 0.6698 MB / 1.411 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.8954, allocations: 80 kB / 1.411 GB, free: 12.85 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.8971, allocations: 0.8692 MB / 1.412 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.8974, allocations: 395 kB / 1.413 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.8979, allocations: 0.4938 MB / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.8998, allocations: 1.492 MB / 1.415 GB, free: 9.602 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8998, allocations: 4 kB / 1.415 GB, free: 9.598 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8998, allocations: 0 / 1.415 GB, free: 9.598 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.8998, allocations: 0 / 1.415 GB, free: 9.598 MB / 1.139 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.001797/0.9016, allocations: 1.239 MB / 1.416 GB, free: 8.305 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9017, allocations: 8.031 kB / 1.416 GB, free: 8.297 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.9028, allocations: 214.6 kB / 1.416 GB, free: 8.086 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.9038, allocations: 0.6832 MB / 1.417 GB, free: 7.363 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.9039, allocations: 65.92 kB / 1.417 GB, free: 7.297 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.904, allocations: 72 kB / 1.417 GB, free: 7.227 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.9053, allocations: 0.9288 MB / 1.418 GB, free: 6.215 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.9054, allocations: 7.938 kB / 1.418 GB, free: 6.207 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.9055, allocations: 39.94 kB / 1.418 GB, free: 6.168 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.9055, allocations: 33.3 kB / 1.418 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.9064, allocations: 0.6138 MB / 1.418 GB, free: 5.52 MB / 1.139 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.003933/0.9104, allocations: 4.574 MB / 1.423 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.9111, allocations: 0.5387 MB / 1.423 GB, free: 72 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.9115, allocations: 246.5 kB / 1.424 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.9117, allocations: 97.09 kB / 1.424 GB, free: 15.7 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.9117, allocations: 38.56 kB / 1.424 GB, free: 15.66 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.9117, allocations: 0 / 1.424 GB, free: 15.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002561/0.9143, allocations: 1.603 MB / 1.425 GB, free: 14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9143, allocations: 110.8 kB / 1.425 GB, free: 13.87 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.9151, allocations: 0.7116 MB / 1.426 GB, free: 13.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.9152, allocations: 37.95 kB / 1.426 GB, free: 13.1 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.9155, allocations: 423.7 kB / 1.427 GB, free: 12.68 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.9156, allocations: 157.8 kB / 1.427 GB, free: 12.53 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.9158, allocations: 118.2 kB / 1.427 GB, free: 12.4 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9159, allocations: 326 kB / 1.427 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.9162, allocations: 185.2 kB / 1.427 GB, free: 11.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.9166, allocations: 417 kB / 1.428 GB, free: 11.39 MB / 1.154 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.002163/0.9188, allocations: 1.182 MB / 1.429 GB, free: 10.11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.9188, allocations: 7.938 kB / 1.429 GB, free: 10.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009534/0.9198, allocations: 0.6713 MB / 1.43 GB, free: 9.422 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9198, allocations: 11.94 kB / 1.43 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.9198, allocations: 8 kB / 1.43 GB, free: 9.402 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.9199, allocations: 11.94 kB / 1.43 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.9203, allocations: 127.8 kB / 1.43 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9203, allocations: 12.58 kB / 1.43 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.9209, allocations: 27.94 kB / 1.43 GB, free: 9.227 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.9209, allocations: 35.98 kB / 1.43 GB, free: 9.191 MB / 1.154 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.0003239/0.9213, allocations: 274.4 kB / 1.43 GB, free: 8.914 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9214, allocations: 83 kB / 1.43 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.9216, allocations: 83.67 kB / 1.43 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006934/0.9223, allocations: 0.7042 MB / 1.431 GB, free: 7.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9223, allocations: 4 kB / 1.431 GB, free: 7.953 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.9225, allocations: 200 kB / 1.431 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.9226, allocations: 12 kB / 1.431 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.9231, allocations: 19.98 kB / 1.431 GB, free: 7.707 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.9232, allocations: 27.91 kB / 1.431 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001069/0.9242, allocations: 0.7259 MB / 1.432 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001094/0.9253, allocations: 1.04 MB / 1.433 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002673/0.9256, allocations: 208.2 kB / 1.433 GB, free: 5.688 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005424/0.9262, allocations: 0.4912 MB / 1.434 GB, free: 5.203 MB / 1.154 GB Notification: Performance of Backend: time 4.61e-07/0.9262, allocations: 0 / 1.434 GB, free: 5.203 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.9278, allocations: 0.6121 MB / 1.434 GB, free: 4.602 MB / 1.154 GB Notification: Performance of SimCode: time 0.003356/0.9312, allocations: 2.245 MB / 1.436 GB, free: 2.32 MB / 1.154 GB Notification: Performance of Templates: time 0.02432/0.9555, allocations: 16.38 MB / 1.452 GB, free: 2.18 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches