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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001457/0.001457, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001442/0.001442, allocations: 187 kB / 17.34 MB, free: 5.742 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.352/1.352, 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.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8024, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2108/1.013, allocations: 187.3 MB / 1.391 GB, free: 1.629 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01722/1.031, allocations: 13.09 MB / 1.404 GB, free: 4.508 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/1.032, allocations: 35.81 kB / 1.404 GB, free: 4.473 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/1.034, allocations: 417.2 kB / 1.405 GB, free: 4.062 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/1.038, allocations: 1.166 MB / 1.406 GB, free: 2.891 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/1.04, allocations: 0.7045 MB / 1.406 GB, free: 2.191 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003133/1.043, allocations: 2.027 MB / 1.408 GB, free: 156 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.045, allocations: 0.8394 MB / 1.409 GB, free: 15.29 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/1.049, allocations: 1.821 MB / 1.411 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/1.051, allocations: 0.6734 MB / 1.412 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/1.052, allocations: 80 kB / 1.412 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/1.054, allocations: 0.8653 MB / 1.413 GB, free: 11.85 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006185/1.054, allocations: 387 kB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.056, allocations: 0.4976 MB / 1.413 GB, free: 10.97 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/1.059, allocations: 1.495 MB / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.059, allocations: 0 / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.983e-06/1.059, allocations: 0 / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.535e-05/1.059, allocations: 0 / 1.415 GB, free: 9.469 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.002484/1.061, allocations: 1.231 MB / 1.416 GB, free: 8.184 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.061, allocations: 12.03 kB / 1.416 GB, free: 8.172 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/1.063, allocations: 218.6 kB / 1.416 GB, free: 7.957 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.064, allocations: 0.6792 MB / 1.417 GB, free: 7.238 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/1.064, allocations: 62 kB / 1.417 GB, free: 7.176 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/1.064, allocations: 76 kB / 1.417 GB, free: 7.102 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.066, allocations: 0.9326 MB / 1.418 GB, free: 6.086 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.066, allocations: 7.938 kB / 1.418 GB, free: 6.078 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/1.066, allocations: 35.94 kB / 1.418 GB, free: 6.043 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/1.066, allocations: 25.31 kB / 1.418 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.067, allocations: 0.6177 MB / 1.419 GB, free: 5.398 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.004913/1.072, allocations: 4.582 MB / 1.423 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/1.073, allocations: 0.5517 MB / 1.424 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/1.073, allocations: 250.2 kB / 1.424 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.073, allocations: 101.1 kB / 1.424 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.073, allocations: 42.56 kB / 1.424 GB, free: 15.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/1.073, allocations: 3.938 kB / 1.424 GB, free: 15.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003087/1.077, allocations: 1.579 MB / 1.426 GB, free: 13.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.077, allocations: 111.1 kB / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/1.078, allocations: 0.7155 MB / 1.426 GB, free: 13 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/1.078, allocations: 33.7 kB / 1.426 GB, free: 12.96 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/1.078, allocations: 423.6 kB / 1.427 GB, free: 12.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.078, allocations: 161.7 kB / 1.427 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.078, allocations: 122.2 kB / 1.427 GB, free: 12.26 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.078, allocations: 326 kB / 1.427 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/1.079, allocations: 189.2 kB / 1.428 GB, free: 11.75 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/1.079, allocations: 417 kB / 1.428 GB, free: 11.25 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.002301/1.082, allocations: 1.177 MB / 1.429 GB, free: 9.965 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.082, allocations: 4 kB / 1.429 GB, free: 9.961 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001162/1.083, allocations: 0.6673 MB / 1.43 GB, free: 9.285 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.083, allocations: 12.72 kB / 1.43 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.083, allocations: 7.938 kB / 1.43 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.083, allocations: 19.98 kB / 1.43 GB, free: 9.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/1.083, allocations: 123.8 kB / 1.43 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/1.083, allocations: 12 kB / 1.43 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/1.084, allocations: 33.3 kB / 1.43 GB, free: 9.082 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/1.084, allocations: 24 kB / 1.43 GB, free: 9.059 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.0004505/1.085, allocations: 273.5 kB / 1.43 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/1.085, allocations: 83 kB / 1.43 GB, free: 8.699 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/1.085, allocations: 95.66 kB / 1.43 GB, free: 8.602 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.085, allocations: 8 kB / 1.43 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.085, allocations: 0 / 1.43 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000755/1.086, allocations: 0.6925 MB / 1.431 GB, free: 7.816 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.088, allocations: 1.643 MB / 1.433 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.088, allocations: 4 kB / 1.433 GB, free: 6.062 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/1.089, allocations: 103.8 kB / 1.433 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/1.089, allocations: 7.938 kB / 1.433 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/1.089, allocations: 19.98 kB / 1.433 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.089, allocations: 8 kB / 1.433 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.089, allocations: 7.938 kB / 1.433 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.09, allocations: 0.8618 MB / 1.434 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/1.091, allocations: 204.1 kB / 1.434 GB, free: 4.773 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/1.091, allocations: 16 kB / 1.434 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/1.091, allocations: 23.98 kB / 1.434 GB, free: 4.734 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/1.091, allocations: 35.84 kB / 1.434 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/1.091, allocations: 23.98 kB / 1.434 GB, free: 4.676 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006998/1.092, allocations: 0.5146 MB / 1.435 GB, free: 4.168 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.91e-07/1.092, allocations: 4 kB / 1.435 GB, free: 4.164 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008316/1.093, allocations: 200 kB / 1.435 GB, free: 3.969 MB / 1.154 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.0005352/1.094, allocations: 196.3 kB / 1.435 GB, free: 3.789 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00088/1.094, allocations: 480.5 kB / 1.435 GB, free: 3.32 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.094, allocations: 3.938 kB / 1.435 GB, free: 3.316 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/1.095, allocations: 213.2 kB / 1.436 GB, free: 3.109 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.097, allocations: 485.4 kB / 1.436 GB, free: 2.645 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/1.1, allocations: 1.709 MB / 1.438 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/1.101, allocations: 1.035 MB / 1.439 GB, free: 15.79 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/1.101, allocations: 67.44 kB / 1.439 GB, free: 15.72 MB / 1.17 GB Notification: Performance of SimCode: time 2.134e-06/1.101, allocations: 0 / 1.439 GB, free: 15.72 MB / 1.17 GB Notification: Performance of Templates: time 0.02123/1.122, allocations: 12.98 MB / 1.451 GB, free: 2.867 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