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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007889/0.0007889, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004731/0.004731, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003327, allocations: 12 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.6212, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1874/0.8086, allocations: 182.4 MB / 1.201 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.8229, allocations: 12.9 MB / 1.214 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009958/0.824, allocations: 23.88 kB / 1.214 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.8251, allocations: 338.1 kB / 1.214 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.8274, allocations: 0.8752 MB / 1.215 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.8291, allocations: 0.6132 MB / 1.216 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.8316, allocations: 2.097 MB / 1.218 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009167/0.8325, allocations: 0.5403 MB / 1.218 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.8359, allocations: 1.576 MB / 1.22 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.8373, allocations: 0.5022 MB / 1.22 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.8375, allocations: 28 kB / 1.22 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.839, allocations: 0.9586 MB / 1.221 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.8394, allocations: 251.3 kB / 1.221 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.8398, allocations: 367.7 kB / 1.222 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.8413, allocations: 1.168 MB / 1.223 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8413, allocations: 0 / 1.223 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.138e-06/0.8413, allocations: 0 / 1.223 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.534e-05/0.8413, allocations: 3.938 kB / 1.223 GB, free: 2.449 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.001409/0.8428, allocations: 0.9076 MB / 1.224 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8428, allocations: 16.02 kB / 1.224 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.8429, allocations: 98.52 kB / 1.224 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.8439, allocations: 206.7 kB / 1.224 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.8447, allocations: 0.5247 MB / 1.225 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.8451, allocations: 109.2 kB / 1.225 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.8452, allocations: 56 kB / 1.225 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.8463, allocations: 0.7714 MB / 1.226 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.8463, allocations: 11.88 kB / 1.226 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.8464, allocations: 20 kB / 1.226 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.8464, allocations: 29 kB / 1.226 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.8474, allocations: 475.3 kB / 1.226 GB, free: 15.04 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.00358/0.851, allocations: 4.176 MB / 1.23 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.8511, allocations: 106.4 kB / 1.23 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8512, allocations: 75.44 kB / 1.23 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.8514, allocations: 97.09 kB / 1.23 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8514, allocations: 34.56 kB / 1.23 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.8514, allocations: 0 / 1.23 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006247/0.852, allocations: 244.8 kB / 1.231 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.8521, allocations: 132.5 kB / 1.231 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.8532, allocations: 0.8446 MB / 1.232 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.8532, allocations: 29.7 kB / 1.232 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.8535, allocations: 398.9 kB / 1.232 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.8536, allocations: 35.55 kB / 1.232 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.8536, allocations: 41.64 kB / 1.232 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.8537, allocations: 318 kB / 1.232 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.854, allocations: 119.8 kB / 1.233 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.8544, allocations: 349.9 kB / 1.233 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.855, allocations: 423 kB / 1.233 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.855, allocations: 0 / 1.233 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009183/0.8559, allocations: 0.4884 MB / 1.234 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.8559, allocations: 8 kB / 1.234 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.856, allocations: 8.75 kB / 1.234 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.856, allocations: 8 kB / 1.234 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.8563, allocations: 99.83 kB / 1.234 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8563, allocations: 15.94 kB / 1.234 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.857, allocations: 140.1 kB / 1.234 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.8571, allocations: 19.98 kB / 1.234 GB, free: 6.316 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.0002324/0.8573, allocations: 225.6 kB / 1.234 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.8575, allocations: 79.06 kB / 1.234 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.8576, allocations: 70.09 kB / 1.234 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8576, allocations: 0 / 1.234 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8576, allocations: 0 / 1.234 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8576, allocations: 7.938 kB / 1.234 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.8588, allocations: 1.128 MB / 1.236 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8588, allocations: 7.938 kB / 1.236 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.8589, allocations: 15.94 kB / 1.236 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.8589, allocations: 4 kB / 1.236 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.8589, allocations: 4 kB / 1.236 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.8589, allocations: 4 kB / 1.236 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8589, allocations: 3.984 kB / 1.236 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.8592, allocations: 272 kB / 1.236 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.8594, allocations: 168.2 kB / 1.236 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.8595, allocations: 0 / 1.236 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.8598, allocations: 31.91 kB / 1.236 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.8599, allocations: 16.41 kB / 1.236 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.8599, allocations: 4 kB / 1.236 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007823/0.8607, allocations: 0.5927 MB / 1.237 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8607, allocations: 0 / 1.237 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005338/0.8612, allocations: 159.7 kB / 1.237 GB, free: 3.379 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.0008473/0.8621, allocations: 0.8908 MB / 1.238 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.8626, allocations: 237 kB / 1.238 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8626, allocations: 4 kB / 1.238 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.8627, allocations: 40.67 kB / 1.238 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.8645, allocations: 370.2 kB / 1.238 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/0.8719, allocations: 5.857 MB / 1.244 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.8724, allocations: 0.9409 MB / 1.245 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005082/0.8729, allocations: 138.1 kB / 1.245 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.8732, allocations: 227.4 kB / 1.245 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8732, allocations: 4 kB / 1.245 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.568/2.441, allocations: 17.3 MB / 1.262 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/2.441, allocations: 276.3 kB / 1.262 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/4.445, allocations: 0 / 1.262 GB, free: 226.8 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