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.0008531/0.000853, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 184.4 kB / 16.92 MB, free: 6.926 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.489/1.489, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 11 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.321, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2024/0.5234, allocations: 182.6 MB / 1.238 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.5411, allocations: 12.94 MB / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.5426, allocations: 27.81 kB / 1.25 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.5441, allocations: 350 kB / 1.251 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6915/1.236, allocations: 1.082 MB / 1.252 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/1.238, allocations: 0.627 MB / 1.252 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004288/1.242, allocations: 2.777 MB / 1.255 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.243, allocations: 0.7076 MB / 1.256 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/1.248, allocations: 1.619 MB / 1.257 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/1.25, allocations: 0.6589 MB / 1.258 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/1.25, allocations: 35.41 kB / 1.258 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/1.252, allocations: 0.9728 MB / 1.259 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005517/1.253, allocations: 335.3 kB / 1.259 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009111/1.254, allocations: 478.7 kB / 1.26 GB, free: 19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/1.256, allocations: 1.084 MB / 1.261 GB, free: 18.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/1.256, allocations: 0.6562 kB / 1.261 GB, free: 18.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.256, allocations: 4 kB / 1.261 GB, free: 18.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.176e-05/1.256, allocations: 0 / 1.261 GB, free: 18.91 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.001954/1.258, allocations: 1.047 MB / 1.262 GB, free: 18.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.258, allocations: 15.84 kB / 1.262 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.259, allocations: 216.2 kB / 1.262 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.26, allocations: 0.6462 MB / 1.263 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/1.26, allocations: 58.91 kB / 1.263 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.26, allocations: 82.44 kB / 1.263 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.262, allocations: 0.9297 MB / 1.264 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.262, allocations: 5.078 kB / 1.264 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/1.262, allocations: 36.72 kB / 1.264 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/1.262, allocations: 35.28 kB / 1.264 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009609/1.263, allocations: 0.6149 MB / 1.264 GB, free: 17.61 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.004623/1.267, allocations: 4.592 MB / 1.269 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/1.268, allocations: 0.5404 MB / 1.269 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/1.269, allocations: 247.6 kB / 1.27 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/1.269, allocations: 97.48 kB / 1.27 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/1.269, allocations: 47.25 kB / 1.27 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/1.269, allocations: 0 / 1.27 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003413/1.272, allocations: 1.585 MB / 1.271 GB, free: 13.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/1.273, allocations: 109.1 kB / 1.271 GB, free: 13.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.274, allocations: 0.7212 MB / 1.272 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/1.274, allocations: 36.89 kB / 1.272 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/1.274, allocations: 414.4 kB / 1.273 GB, free: 13.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/1.274, allocations: 163.5 kB / 1.273 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/1.274, allocations: 58.83 kB / 1.273 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.274, allocations: 331.9 kB / 1.273 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/1.275, allocations: 186 kB / 1.273 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/1.275, allocations: 420.9 kB / 1.274 GB, free: 12.33 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.002479/1.278, allocations: 1.186 MB / 1.275 GB, free: 11.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.278, allocations: 2.5 kB / 1.275 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001431/1.279, allocations: 0.6619 MB / 1.275 GB, free: 11.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.279, allocations: 11.22 kB / 1.275 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.279, allocations: 6.031 kB / 1.275 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.279, allocations: 10.69 kB / 1.275 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/1.28, allocations: 127.9 kB / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.185e-05/1.28, allocations: 18.61 kB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/1.281, allocations: 51.7 kB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/1.281, allocations: 34.97 kB / 1.276 GB, free: 11.88 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 sytem: 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.0005686/1.281, allocations: 268.8 kB / 1.276 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.281, allocations: 79.56 kB / 1.276 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/1.282, allocations: 95.47 kB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.282, allocations: 7.172 kB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.282, allocations: 4.438 kB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008751/1.283, allocations: 0.7014 MB / 1.277 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/1.285, allocations: 1.64 MB / 1.278 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.285, allocations: 6.062 kB / 1.278 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/1.286, allocations: 94.42 kB / 1.279 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.286, allocations: 6.125 kB / 1.279 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/1.286, allocations: 22.28 kB / 1.279 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/1.286, allocations: 11.34 kB / 1.279 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/1.286, allocations: 10.38 kB / 1.279 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/1.287, allocations: 0.8704 MB / 1.279 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/1.288, allocations: 204.5 kB / 1.28 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.288, allocations: 15.95 kB / 1.28 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.289, allocations: 42.06 kB / 1.28 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/1.289, allocations: 41.28 kB / 1.28 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/1.289, allocations: 18.28 kB / 1.28 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009284/1.29, allocations: 0.5114 MB / 1.28 GB, free: 10.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.29, allocations: 0 / 1.28 GB, free: 10.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001097/1.291, allocations: 210.5 kB / 1.28 GB, free: 10.08 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.0005948/1.291, allocations: 209 kB / 1.281 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.293, allocations: 469.2 kB / 1.281 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.293, allocations: 0.9688 kB / 1.281 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/1.293, allocations: 219.5 kB / 1.281 GB, free: 9.961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/1.296, allocations: 458.9 kB / 1.282 GB, free: 9.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/1.3, allocations: 2.086 MB / 1.284 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009802/1.301, allocations: 1.024 MB / 1.285 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/1.302, allocations: 70.08 kB / 1.285 GB, free: 8.066 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.302, allocations: 0 / 1.285 GB, free: 8.066 MB / 1.014 GB Notification: Performance of Templates: time 0.02893/1.331, allocations: 12.79 MB / 1.297 GB, free: 7.082 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/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