Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001678/0.001678, allocations: 195.3 kB / 16.26 MB, free: 6.629 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.29/2.29, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4746, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1563/0.6309, allocations: 184.7 MB / 1.197 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.6436, allocations: 12.91 MB / 1.21 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.6445, allocations: 23.88 kB / 1.21 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.6455, allocations: 362 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.6475, allocations: 0.8597 MB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.649, allocations: 0.6306 MB / 1.212 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.6506, allocations: 1.497 MB / 1.213 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/0.6514, allocations: 0.6273 MB / 1.214 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.6543, allocations: 1.685 MB / 1.215 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.6556, allocations: 0.5378 MB / 1.216 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.6557, allocations: 56 kB / 1.216 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.6569, allocations: 0.9041 MB / 1.217 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.6572, allocations: 283.2 kB / 1.217 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.6576, allocations: 390 kB / 1.218 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.6589, allocations: 1.196 MB / 1.219 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.6589, allocations: 0 / 1.219 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6589, allocations: 4 kB / 1.219 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.6589, allocations: 0 / 1.219 GB, free: 3.348 MB / 0.9669 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.001328/0.6602, allocations: 1.048 MB / 1.22 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6603, allocations: 8.031 kB / 1.22 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.58e-05/0.6604, allocations: 102.5 kB / 1.22 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.6613, allocations: 198.8 kB / 1.22 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.6619, allocations: 0.5247 MB / 1.221 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.6623, allocations: 97.25 kB / 1.221 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.6623, allocations: 60 kB / 1.221 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6634, allocations: 0.7597 MB / 1.221 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6634, allocations: 11.88 kB / 1.221 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.6635, allocations: 24 kB / 1.221 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.6635, allocations: 25 kB / 1.221 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.6643, allocations: 467.3 kB / 1.222 GB, free: 15.84 MB / 0.9825 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.003212/0.6676, allocations: 4.175 MB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.6677, allocations: 94.36 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.6678, allocations: 83.58 kB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.6679, allocations: 93.09 kB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.668, allocations: 38.5 kB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.668, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005714/0.6685, allocations: 232.9 kB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.6686, allocations: 140.4 kB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000963/0.6696, allocations: 0.8446 MB / 1.227 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.6696, allocations: 29.7 kB / 1.228 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.6699, allocations: 399 kB / 1.228 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.6699, allocations: 39.45 kB / 1.228 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.67, allocations: 85.5 kB / 1.228 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.6701, allocations: 322 kB / 1.228 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.6704, allocations: 107.9 kB / 1.228 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.6708, allocations: 349.8 kB / 1.229 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.6713, allocations: 411 kB / 1.229 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.6713, allocations: 4 kB / 1.229 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008339/0.6721, allocations: 493.2 kB / 1.23 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6721, allocations: 12.03 kB / 1.23 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6721, allocations: 8 kB / 1.23 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6722, allocations: 8 kB / 1.23 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6725, allocations: 87.89 kB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.6725, allocations: 19.92 kB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.6731, allocations: 127 kB / 1.23 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.6732, allocations: 24 kB / 1.23 GB, free: 7.105 MB / 0.9825 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.0002148/0.6734, allocations: 225.6 kB / 1.23 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6735, allocations: 71.16 kB / 1.23 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.6736, allocations: 74.09 kB / 1.23 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6736, allocations: 0 / 1.23 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6736, allocations: 4 kB / 1.23 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6737, allocations: 3.938 kB / 1.23 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.6748, allocations: 1.124 MB / 1.231 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6748, allocations: 4 kB / 1.231 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.6749, allocations: 23.92 kB / 1.231 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6749, allocations: 128 / 1.231 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6749, allocations: 12 kB / 1.231 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6749, allocations: 4 kB / 1.231 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6749, allocations: 7.938 kB / 1.231 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.6752, allocations: 260.1 kB / 1.232 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.6753, allocations: 176.1 kB / 1.232 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.81e-05/0.6754, allocations: 4 kB / 1.232 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.6757, allocations: 16.08 kB / 1.232 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.6758, allocations: 23.86 kB / 1.232 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.6758, allocations: 8 kB / 1.232 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007088/0.6765, allocations: 0.5809 MB / 1.232 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6765, allocations: 7.938 kB / 1.232 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004806/0.677, allocations: 155.8 kB / 1.233 GB, free: 4.18 MB / 0.9825 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.0007155/0.6777, allocations: 0.8875 MB / 1.233 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.6782, allocations: 237 kB / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6782, allocations: 0 / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.6783, allocations: 51.86 kB / 1.234 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6797, allocations: 382.7 kB / 1.234 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.6863, allocations: 5.794 MB / 1.24 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.6867, allocations: 0.933 MB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004431/0.6872, allocations: 146 kB / 1.241 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.6874, allocations: 227.4 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.6874, allocations: 4 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.106/2.793, allocations: 17.54 MB / 1.258 GB, free: 236 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/2.794, allocations: 281 kB / 1.258 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/5.285, allocations: 0 / 1.258 GB, free: 235.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches