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.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001256/0.001256, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.33 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3863, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2166/0.6029, allocations: 184.8 MB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8147/1.418, allocations: 12.95 MB / 1.261 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/1.419, allocations: 29.84 kB / 1.261 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/1.421, allocations: 369.5 kB / 1.261 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/1.425, allocations: 1.084 MB / 1.262 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/1.428, allocations: 0.6404 MB / 1.263 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004283/1.432, allocations: 2.015 MB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/1.434, allocations: 0.8193 MB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/1.44, allocations: 1.768 MB / 1.267 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.442, allocations: 0.7108 MB / 1.268 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/1.442, allocations: 80.84 kB / 1.268 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/1.445, allocations: 0.9081 MB / 1.269 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/1.445, allocations: 386.2 kB / 1.269 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008475/1.446, allocations: 0.5005 MB / 1.27 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/1.449, allocations: 1.531 MB / 1.271 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.449, allocations: 1.562 kB / 1.271 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.016e-06/1.449, allocations: 0 / 1.271 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.341e-05/1.449, allocations: 2.062 kB / 1.271 GB, free: 5.719 MB / 0.9981 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.002439/1.452, allocations: 1.237 MB / 1.273 GB, free: 21.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.452, allocations: 12.66 kB / 1.273 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.453, allocations: 212.8 kB / 1.273 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/1.454, allocations: 0.6369 MB / 1.273 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/1.454, allocations: 60.36 kB / 1.274 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/1.454, allocations: 83.72 kB / 1.274 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/1.456, allocations: 0.935 MB / 1.275 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/1.456, allocations: 5.453 kB / 1.275 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/1.456, allocations: 33.59 kB / 1.275 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/1.456, allocations: 30 kB / 1.275 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.457, allocations: 0.6173 MB / 1.275 GB, free: 20.4 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.005619/1.463, allocations: 4.59 MB / 1.28 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/1.464, allocations: 0.5429 MB / 1.28 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/1.464, allocations: 247.4 kB / 1.28 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.464, allocations: 99.02 kB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.464, allocations: 46.2 kB / 1.281 GB, free: 16.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/1.464, allocations: 2.172 kB / 1.281 GB, free: 16.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003493/1.468, allocations: 1.598 MB / 1.282 GB, free: 16.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/1.468, allocations: 109.4 kB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/1.469, allocations: 0.7145 MB / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/1.469, allocations: 34.98 kB / 1.283 GB, free: 16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.469, allocations: 415 kB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.47, allocations: 163.2 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/1.47, allocations: 118.5 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.47, allocations: 330.4 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/1.47, allocations: 189.3 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/1.471, allocations: 416.1 kB / 1.285 GB, free: 15.15 MB / 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.002274/1.473, allocations: 1.182 MB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.473, allocations: 2.094 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001103/1.474, allocations: 0.6773 MB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.474, allocations: 10.22 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.474, allocations: 7.484 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.474, allocations: 10.19 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/1.475, allocations: 126.3 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.475, allocations: 14.08 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/1.475, allocations: 54.28 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/1.475, allocations: 28.36 kB / 1.287 GB, free: 14.73 MB / 1.014 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.0004005/1.476, allocations: 277.4 kB / 1.287 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.476, allocations: 88.88 kB / 1.287 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/1.476, allocations: 89.59 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/1.476, allocations: 5.312 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.476, allocations: 1.844 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007529/1.477, allocations: 0.7026 MB / 1.288 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/1.479, allocations: 1.643 MB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.48, allocations: 4.812 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/1.48, allocations: 100.6 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.48, allocations: 8.578 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/1.48, allocations: 14.88 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.48, allocations: 10.19 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.48, allocations: 6.094 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.481, allocations: 0.8699 MB / 1.29 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.481, allocations: 204.3 kB / 1.291 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.482, allocations: 15.95 kB / 1.291 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/1.482, allocations: 36.66 kB / 1.291 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/1.482, allocations: 39.8 kB / 1.291 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/1.482, allocations: 19.77 kB / 1.291 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006695/1.483, allocations: 0.5107 MB / 1.291 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.483, allocations: 0 / 1.291 GB, free: 12.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008002/1.484, allocations: 204.6 kB / 1.291 GB, free: 12.95 MB / 1.014 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.000499/1.484, allocations: 206.9 kB / 1.292 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009097/1.485, allocations: 0.5132 MB / 1.292 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.485, allocations: 0 / 1.292 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/1.485, allocations: 221 kB / 1.292 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.488, allocations: 472.1 kB / 1.293 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/1.49, allocations: 1.947 MB / 1.295 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.491, allocations: 1.032 MB / 1.296 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007925/1.492, allocations: 193.7 kB / 1.296 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/1.492, allocations: 62.44 kB / 1.296 GB, free: 11 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.492, allocations: 0 / 1.296 GB, free: 11 MB / 1.014 GB Notification: Performance of Templates: time 0.02985/1.522, allocations: 14.99 MB / 1.31 GB, free: 10.13 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches