Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_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.001374/0.001374, 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.00132/0.00132, allocations: 189.3 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.288/1.288, 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 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5893, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1763/0.7656, allocations: 184.7 MB / 1.13 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.7793, allocations: 12.92 MB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008494/0.7801, allocations: 27.81 kB / 1.142 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.7813, allocations: 354.1 kB / 1.143 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.7833, allocations: 0.8675 MB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.785, allocations: 0.6371 MB / 1.144 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.7867, allocations: 1.495 MB / 1.145 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.7876, allocations: 0.6234 MB / 1.146 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.7906, allocations: 1.681 MB / 1.148 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.7919, allocations: 0.5383 MB / 1.148 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.792, allocations: 59.94 kB / 1.148 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.7933, allocations: 0.912 MB / 1.149 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.7936, allocations: 275.3 kB / 1.149 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.794, allocations: 390 kB / 1.15 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.7954, allocations: 1.192 MB / 1.151 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7954, allocations: 3.984 kB / 1.151 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7954, allocations: 3.938 kB / 1.151 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.7954, allocations: 0 / 1.151 GB, free: 2.703 MB / 0.9044 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.00141/0.7969, allocations: 1.044 MB / 1.152 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7969, allocations: 8.031 kB / 1.152 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.797, allocations: 102.5 kB / 1.152 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.798, allocations: 198.8 kB / 1.152 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.7987, allocations: 0.5246 MB / 1.153 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.7991, allocations: 109.2 kB / 1.153 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.7991, allocations: 56 kB / 1.153 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.8002, allocations: 0.7636 MB / 1.154 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.8003, allocations: 7.875 kB / 1.154 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.8003, allocations: 24 kB / 1.154 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.8004, allocations: 21 kB / 1.154 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.8013, allocations: 479.1 kB / 1.154 GB, free: 15.19 MB / 0.92 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.003453/0.8047, allocations: 4.167 MB / 1.158 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.8049, allocations: 102.4 kB / 1.158 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.805, allocations: 75.52 kB / 1.158 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.8051, allocations: 97.11 kB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.8052, allocations: 42.55 kB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.8052, allocations: 0 / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006184/0.8058, allocations: 240.8 kB / 1.159 GB, free: 10.17 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.8059, allocations: 132.5 kB / 1.159 GB, free: 10.01 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.8069, allocations: 0.8369 MB / 1.16 GB, free: 9.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.8069, allocations: 29.7 kB / 1.16 GB, free: 9.121 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.8072, allocations: 398.9 kB / 1.16 GB, free: 8.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.8073, allocations: 39.45 kB / 1.16 GB, free: 8.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8074, allocations: 85.59 kB / 1.16 GB, free: 8.598 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.8075, allocations: 318 kB / 1.161 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.8077, allocations: 107.9 kB / 1.161 GB, free: 8.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.8082, allocations: 345.8 kB / 1.161 GB, free: 7.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.8087, allocations: 411 kB / 1.161 GB, free: 7.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8087, allocations: 4 kB / 1.161 GB, free: 7.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008828/0.8096, allocations: 492.7 kB / 1.162 GB, free: 6.738 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8096, allocations: 9.875 kB / 1.162 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8096, allocations: 8.031 kB / 1.162 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8096, allocations: 12 kB / 1.162 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.8099, allocations: 87.83 kB / 1.162 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.81, allocations: 19.86 kB / 1.162 GB, free: 6.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.8107, allocations: 131.1 kB / 1.162 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.8107, allocations: 16.47 kB / 1.162 GB, free: 6.461 MB / 0.92 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.0002227/0.8109, allocations: 229.7 kB / 1.162 GB, free: 6.227 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.8111, allocations: 75.06 kB / 1.162 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.8112, allocations: 74.03 kB / 1.163 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8112, allocations: 0 / 1.163 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8112, allocations: 8.109 kB / 1.163 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8112, allocations: 7.938 kB / 1.163 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.8124, allocations: 1.128 MB / 1.164 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8124, allocations: 7.938 kB / 1.164 GB, free: 4.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.8125, allocations: 15.98 kB / 1.164 GB, free: 4.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8125, allocations: 4 kB / 1.164 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.8125, allocations: 4 kB / 1.164 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.8125, allocations: 7.938 kB / 1.164 GB, free: 4.805 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8125, allocations: 0 / 1.164 GB, free: 4.805 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.8128, allocations: 264 kB / 1.164 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.813, allocations: 176.1 kB / 1.164 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.8131, allocations: 4 kB / 1.164 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.8134, allocations: 19.98 kB / 1.164 GB, free: 4.285 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.8135, allocations: 15.86 kB / 1.164 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.8135, allocations: 8 kB / 1.164 GB, free: 4.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007492/0.8142, allocations: 0.5849 MB / 1.165 GB, free: 3.684 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.8142, allocations: 0 / 1.165 GB, free: 3.684 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005181/0.8148, allocations: 151.8 kB / 1.165 GB, free: 3.535 MB / 0.92 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.0007603/0.8155, allocations: 0.8806 MB / 1.166 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.816, allocations: 241.2 kB / 1.166 GB, free: 2.379 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.816, allocations: 0 / 1.166 GB, free: 2.379 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.8161, allocations: 47.86 kB / 1.166 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8176, allocations: 385.3 kB / 1.166 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.8246, allocations: 5.779 MB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.825, allocations: 0.9407 MB / 1.173 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004679/0.8255, allocations: 142 kB / 1.173 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.8258, allocations: 235.3 kB / 1.173 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8258, allocations: 0 / 1.173 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3217/1.147, allocations: 17.57 MB / 1.19 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/1.148, allocations: 282.6 kB / 1.191 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.384, allocations: 0 / 1.191 GB, free: 8.969 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches