Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008997/0.008997, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001412/0.001412, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 66.39 kB / 0.9509 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9648/1.279, allocations: 187.3 MB / 1.271 GB, free: 3.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0177/1.297, allocations: 13.07 MB / 1.284 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/1.299, allocations: 30.41 kB / 1.284 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.3, allocations: 441.3 kB / 1.284 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00416/1.304, allocations: 1.201 MB / 1.285 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/1.307, allocations: 0.7068 MB / 1.286 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003855/1.311, allocations: 2.031 MB / 1.288 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/1.312, allocations: 0.8399 MB / 1.289 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/1.319, allocations: 1.872 MB / 1.291 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/1.321, allocations: 0.6649 MB / 1.291 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/1.321, allocations: 81.25 kB / 1.291 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/1.324, allocations: 0.8746 MB / 1.292 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/1.325, allocations: 389.1 kB / 1.293 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.326, allocations: 0.4949 MB / 1.293 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003305/1.329, allocations: 1.498 MB / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.329, allocations: 1 kB / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.126e-06/1.329, allocations: 1.438 kB / 1.294 GB, free: 3.129 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.33, allocations: 0 / 1.294 GB, free: 3.129 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.002386/1.332, allocations: 1.233 MB / 1.296 GB, free: 2.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.332, allocations: 9.625 kB / 1.296 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/1.333, allocations: 209.3 kB / 1.296 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/1.335, allocations: 0.6846 MB / 1.297 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/1.335, allocations: 56.41 kB / 1.297 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.335, allocations: 86.73 kB / 1.297 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.337, allocations: 0.9335 MB / 1.298 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/1.337, allocations: 7.438 kB / 1.298 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/1.337, allocations: 33.27 kB / 1.298 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/1.337, allocations: 29.7 kB / 1.298 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.338, allocations: 0.618 MB / 1.298 GB, free: 1.809 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.005088/1.343, allocations: 4.581 MB / 1.303 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/1.344, allocations: 0.5425 MB / 1.303 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/1.344, allocations: 241.3 kB / 1.303 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/1.345, allocations: 107.4 kB / 1.304 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.345, allocations: 47.33 kB / 1.304 GB, free: 14.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/1.345, allocations: 0 / 1.304 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.003203/1.348, allocations: 1.579 MB / 1.305 GB, free: 13.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/1.348, allocations: 111.7 kB / 1.305 GB, free: 13.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.349, allocations: 0.718 MB / 1.306 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/1.349, allocations: 37.45 kB / 1.306 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/1.349, allocations: 416.8 kB / 1.306 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.35, allocations: 162.1 kB / 1.307 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/1.35, allocations: 120 kB / 1.307 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.35, allocations: 331.4 kB / 1.307 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/1.35, allocations: 186.7 kB / 1.307 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/1.351, allocations: 417.4 kB / 1.308 GB, free: 12.56 MB / 1.029 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.002308/1.353, allocations: 1.18 MB / 1.309 GB, free: 12.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.353, allocations: 3.406 kB / 1.309 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001055/1.354, allocations: 0.6666 MB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.354, allocations: 7.906 kB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.354, allocations: 7.406 kB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/1.354, allocations: 9.656 kB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/1.355, allocations: 129.4 kB / 1.31 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.355, allocations: 12.41 kB / 1.31 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/1.355, allocations: 39.45 kB / 1.31 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/1.355, allocations: 32.03 kB / 1.31 GB, free: 12.14 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.0004071/1.356, allocations: 270.2 kB / 1.31 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.356, allocations: 81.59 kB / 1.31 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/1.356, allocations: 87.58 kB / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.356, allocations: 9.312 kB / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.356, allocations: 1.25 kB / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007378/1.357, allocations: 0.6967 MB / 1.311 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.359, allocations: 1.637 MB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.359, allocations: 6.547 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/1.36, allocations: 103.5 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.36, allocations: 7.594 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.36, allocations: 21.2 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/1.36, allocations: 9.844 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.36, allocations: 4.719 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.361, allocations: 0.8755 MB / 1.313 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/1.361, allocations: 204.2 kB / 1.314 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/1.361, allocations: 18.08 kB / 1.314 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/1.362, allocations: 20.83 kB / 1.314 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/1.362, allocations: 36.11 kB / 1.314 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.362, allocations: 23.06 kB / 1.314 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006533/1.363, allocations: 0.514 MB / 1.314 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.363, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000916/1.364, allocations: 198.6 kB / 1.314 GB, free: 10.37 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.0004988/1.364, allocations: 206.5 kB / 1.314 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008674/1.365, allocations: 490.3 kB / 1.315 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.365, allocations: 1.656 kB / 1.315 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/1.365, allocations: 210.3 kB / 1.315 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.368, allocations: 482.6 kB / 1.316 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/1.371, allocations: 1.662 MB / 1.317 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/1.372, allocations: 1.025 MB / 1.318 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009296/1.373, allocations: 202.6 kB / 1.318 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.373, allocations: 62.59 kB / 1.319 GB, free: 8.656 MB / 1.029 GB Notification: Performance of SimCode: time 1.262e-06/1.373, allocations: 1.25 kB / 1.319 GB, free: 8.656 MB / 1.029 GB Notification: Performance of Templates: time 0.02994/1.403, allocations: 15.19 MB / 1.333 GB, free: 7.734 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches