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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001418/0.001418, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001388/0.001388, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 482.2 MB / 0.7548 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.06 kB / 0.9238 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7989, allocations: 162.2 MB / 1.082 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2252/1.024, allocations: 184.9 MB / 1.263 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01692/1.041, allocations: 12.96 MB / 1.275 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/1.042, allocations: 31.81 kB / 1.275 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/1.043, allocations: 362 kB / 1.276 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/1.046, allocations: 1.074 MB / 1.277 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/1.048, allocations: 0.6453 MB / 1.277 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002781/1.051, allocations: 2.012 MB / 1.279 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/1.052, allocations: 0.816 MB / 1.28 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/1.056, allocations: 1.896 MB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.058, allocations: 0.6906 MB / 1.283 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/1.058, allocations: 84 kB / 1.283 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/1.06, allocations: 0.9041 MB / 1.284 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/1.061, allocations: 387 kB / 1.284 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/1.061, allocations: 0.5015 MB / 1.285 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.063, allocations: 1.111 MB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.063, allocations: 0 / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/1.063, allocations: 0 / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.063, allocations: 0 / 1.286 GB, free: 14.38 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.001901/1.065, allocations: 1.243 MB / 1.287 GB, free: 13.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.065, allocations: 12.03 kB / 1.287 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.066, allocations: 222.5 kB / 1.287 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.067, allocations: 0.6326 MB / 1.288 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/1.067, allocations: 61.94 kB / 1.288 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.067, allocations: 79.89 kB / 1.288 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.069, allocations: 0.9366 MB / 1.289 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.069, allocations: 3.938 kB / 1.289 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/1.069, allocations: 39.94 kB / 1.289 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/1.069, allocations: 25.31 kB / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.07, allocations: 0.6177 MB / 1.289 GB, free: 10.33 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.004844/1.075, allocations: 4.657 MB / 1.294 GB, free: 5.355 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/1.076, allocations: 0.5431 MB / 1.294 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/1.076, allocations: 256.9 kB / 1.295 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/1.076, allocations: 105.1 kB / 1.295 GB, free: 4.391 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.076, allocations: 38.34 kB / 1.295 GB, free: 4.344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/1.076, allocations: 0 / 1.295 GB, free: 4.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002973/1.079, allocations: 1.59 MB / 1.296 GB, free: 2.695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/1.079, allocations: 114.8 kB / 1.297 GB, free: 2.559 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/1.08, allocations: 0.7116 MB / 1.297 GB, free: 1.832 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.08, allocations: 41.64 kB / 1.297 GB, free: 1.785 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/1.081, allocations: 419.7 kB / 1.298 GB, free: 1.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.081, allocations: 161.7 kB / 1.298 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.081, allocations: 118.2 kB / 1.298 GB, free: 1.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.081, allocations: 330 kB / 1.298 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/1.082, allocations: 189.2 kB / 1.298 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/1.082, allocations: 421.5 kB / 1.299 GB, free: 72 kB / 1.014 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.00237/1.084, allocations: 1.185 MB / 1.3 GB, free: 14.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.084, allocations: 4 kB / 1.3 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001087/1.086, allocations: 0.672 MB / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.086, allocations: 7.938 kB / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.086, allocations: 8 kB / 1.301 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.086, allocations: 8 kB / 1.301 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/1.086, allocations: 135.8 kB / 1.301 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.086, allocations: 8 kB / 1.301 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1.087, allocations: 55.97 kB / 1.301 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/1.087, allocations: 31.98 kB / 1.301 GB, free: 13.84 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.0004162/1.087, allocations: 273.5 kB / 1.301 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/1.087, allocations: 86.91 kB / 1.301 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/1.088, allocations: 87.67 kB / 1.301 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/1.088, allocations: 8 kB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.088, allocations: 4 kB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008071/1.088, allocations: 0.6988 MB / 1.302 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/1.091, allocations: 1.643 MB / 1.304 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.091, allocations: 4 kB / 1.304 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/1.091, allocations: 99.83 kB / 1.304 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.092, allocations: 11.94 kB / 1.304 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/1.092, allocations: 16 kB / 1.304 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/1.092, allocations: 4 kB / 1.304 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.092, allocations: 7.938 kB / 1.304 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.093, allocations: 0.8652 MB / 1.305 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/1.093, allocations: 212 kB / 1.305 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.093, allocations: 15.98 kB / 1.305 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/1.094, allocations: 31.98 kB / 1.305 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/1.094, allocations: 47.77 kB / 1.305 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/1.094, allocations: 20 kB / 1.305 GB, free: 9.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006749/1.094, allocations: 0.5107 MB / 1.305 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.094, allocations: 0 / 1.305 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007804/1.095, allocations: 204 kB / 1.306 GB, free: 8.73 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.0004895/1.096, allocations: 205.1 kB / 1.306 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000941/1.097, allocations: 0.5162 MB / 1.306 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.097, allocations: 0 / 1.306 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/1.097, allocations: 220.5 kB / 1.306 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.099, allocations: 481.5 kB / 1.307 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/1.102, allocations: 2.005 MB / 1.309 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/1.103, allocations: 1.024 MB / 1.31 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/1.103, allocations: 63.44 kB / 1.31 GB, free: 4.148 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.103, allocations: 0 / 1.31 GB, free: 4.148 MB / 1.029 GB Notification: Performance of Templates: time 0.02143/1.125, allocations: 12.9 MB / 1.323 GB, free: 7.371 MB / 1.045 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