Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001399, 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.001843/0.001843, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.7 MB / 0.7449 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.16 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3449, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.208/0.553, allocations: 184.7 MB / 1.248 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8534/1.407, allocations: 12.9 MB / 1.261 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/1.408, allocations: 26.28 kB / 1.261 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.41, allocations: 356.2 kB / 1.261 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/1.413, allocations: 0.8659 MB / 1.262 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/1.416, allocations: 0.6314 MB / 1.263 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002828/1.418, allocations: 1.497 MB / 1.264 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/1.42, allocations: 0.629 MB / 1.265 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/1.425, allocations: 1.679 MB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.427, allocations: 0.5455 MB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/1.427, allocations: 55.12 kB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/1.429, allocations: 0.9091 MB / 1.268 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/1.43, allocations: 277 kB / 1.268 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005859/1.43, allocations: 390.4 kB / 1.268 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/1.433, allocations: 1.197 MB / 1.27 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.433, allocations: 1.609 kB / 1.27 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/1.433, allocations: 0 / 1.27 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.409e-05/1.433, allocations: 4.984 kB / 1.27 GB, free: 5.344 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002095/1.435, allocations: 1.047 MB / 1.271 GB, free: 20.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.435, allocations: 9.25 kB / 1.271 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.436, allocations: 196.7 kB / 1.271 GB, free: 20.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/1.437, allocations: 0.5248 MB / 1.271 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/1.438, allocations: 101.3 kB / 1.271 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/1.438, allocations: 54.84 kB / 1.271 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.439, allocations: 0.7662 MB / 1.272 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/1.439, allocations: 5.656 kB / 1.272 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.439, allocations: 28.03 kB / 1.272 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/1.439, allocations: 22.08 kB / 1.272 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009715/1.44, allocations: 469.2 kB / 1.273 GB, free: 20.09 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.004726/1.445, allocations: 4.163 MB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.445, allocations: 102.8 kB / 1.277 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.445, allocations: 77.78 kB / 1.277 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/1.445, allocations: 94.17 kB / 1.277 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.445, allocations: 42.92 kB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 3.386e-06/1.445, allocations: 0.5 kB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007926/1.446, allocations: 242.4 kB / 1.277 GB, free: 16.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.446, allocations: 140.3 kB / 1.277 GB, free: 16.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/1.448, allocations: 0.8303 MB / 1.278 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.448, allocations: 31.14 kB / 1.278 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/1.448, allocations: 396.2 kB / 1.279 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/1.448, allocations: 40.22 kB / 1.279 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.448, allocations: 87.48 kB / 1.279 GB, free: 16.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.448, allocations: 323 kB / 1.279 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/1.449, allocations: 113.8 kB / 1.279 GB, free: 15.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/1.449, allocations: 347.2 kB / 1.279 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/1.45, allocations: 411.9 kB / 1.28 GB, free: 15.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.45, allocations: 2.281 kB / 1.28 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/1.451, allocations: 491.6 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.451, allocations: 11.45 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.451, allocations: 6.969 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.451, allocations: 10.34 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/1.451, allocations: 96.23 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/1.451, allocations: 18.31 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/1.452, allocations: 122.3 kB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/1.452, allocations: 25.19 kB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003305/1.453, allocations: 229.7 kB / 1.281 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.453, allocations: 72.2 kB / 1.281 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/1.453, allocations: 70.56 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.453, allocations: 2.906 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.453, allocations: 10.7 kB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.453, allocations: 1.672 kB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.455, allocations: 1.129 MB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.455, allocations: 3.359 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.455, allocations: 17.08 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.455, allocations: 3.312 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/1.455, allocations: 5.016 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/1.455, allocations: 6.625 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-06/1.455, allocations: 3.766 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/1.455, allocations: 266.3 kB / 1.282 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/1.456, allocations: 170.2 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.456, allocations: 4.625 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/1.456, allocations: 19.97 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/1.456, allocations: 19.44 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.456, allocations: 6.625 kB / 1.283 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001345/1.457, allocations: 0.586 MB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/1.457, allocations: 1.344 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007644/1.458, allocations: 155.5 kB / 1.283 GB, free: 13.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0005761/1.459, allocations: 190.8 kB / 1.283 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006467/1.459, allocations: 236.6 kB / 1.284 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.459, allocations: 0.7812 kB / 1.284 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/1.46, allocations: 50.47 kB / 1.284 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.461, allocations: 379.7 kB / 1.284 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/1.464, allocations: 1.261 MB / 1.285 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.465, allocations: 0.9395 MB / 1.286 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008662/1.466, allocations: 136.4 kB / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.466, allocations: 46.75 kB / 1.286 GB, free: 12.32 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.466, allocations: 2.156 kB / 1.286 GB, free: 12.32 MB / 1.014 GB Notification: Performance of Templates: time 0.03019/1.496, allocations: 11.64 MB / 1.298 GB, free: 11.66 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches