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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001713/0.001714, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4936, allocations: 140.4 MB / 0.949 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1784/0.672, allocations: 184.9 MB / 1.13 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.6863, allocations: 13.07 MB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.6872, allocations: 31.81 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.6882, allocations: 338.1 kB / 1.143 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.69, allocations: 0.8791 MB / 1.144 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.6914, allocations: 0.6145 MB / 1.144 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.6932, allocations: 2.101 MB / 1.146 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.6939, allocations: 0.5533 MB / 1.147 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.6968, allocations: 1.592 MB / 1.148 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.698, allocations: 0.5368 MB / 1.149 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.6981, allocations: 36 kB / 1.149 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6995, allocations: 0.9782 MB / 1.15 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.6998, allocations: 259.3 kB / 1.15 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.7002, allocations: 370 kB / 1.15 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.7016, allocations: 1.18 MB / 1.152 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7016, allocations: 0 / 1.152 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7016, allocations: 0 / 1.152 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7016, allocations: 0 / 1.152 GB, free: 2.035 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.001539/0.7032, allocations: 1.048 MB / 1.153 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.7032, allocations: 12.02 kB / 1.153 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.7034, allocations: 102.5 kB / 1.153 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009302/0.7043, allocations: 194.8 kB / 1.153 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.7051, allocations: 0.5208 MB / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.7054, allocations: 105.2 kB / 1.153 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.7055, allocations: 59.98 kB / 1.154 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.7066, allocations: 0.7597 MB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7066, allocations: 15.86 kB / 1.154 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.7066, allocations: 28 kB / 1.154 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.7067, allocations: 21 kB / 1.154 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.7075, allocations: 471.1 kB / 1.155 GB, free: 14.52 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.003345/0.7109, allocations: 4.167 MB / 1.159 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.711, allocations: 102.4 kB / 1.159 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.7111, allocations: 79.42 kB / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.7113, allocations: 97.09 kB / 1.159 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.7113, allocations: 34.56 kB / 1.159 GB, free: 9.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7113, allocations: 0 / 1.159 GB, free: 9.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000594/0.7119, allocations: 240.9 kB / 1.159 GB, free: 9.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.712, allocations: 132.5 kB / 1.16 GB, free: 9.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.713, allocations: 0.8329 MB / 1.16 GB, free: 8.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.713, allocations: 33.7 kB / 1.16 GB, free: 8.461 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.7133, allocations: 398.9 kB / 1.161 GB, free: 8.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.7134, allocations: 47.39 kB / 1.161 GB, free: 8.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.7135, allocations: 77.59 kB / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7136, allocations: 322 kB / 1.161 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.7139, allocations: 111.9 kB / 1.161 GB, free: 7.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.7143, allocations: 341.9 kB / 1.162 GB, free: 7.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.7149, allocations: 415 kB / 1.162 GB, free: 6.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7149, allocations: 4 kB / 1.162 GB, free: 6.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008417/0.7157, allocations: 492.1 kB / 1.162 GB, free: 6.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7157, allocations: 8.75 kB / 1.162 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.7158, allocations: 8 kB / 1.162 GB, free: 6.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7158, allocations: 15.98 kB / 1.163 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.7161, allocations: 91.83 kB / 1.163 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.7161, allocations: 15.94 kB / 1.163 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.7167, allocations: 119.1 kB / 1.163 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.7168, allocations: 28 kB / 1.163 GB, free: 5.789 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.0002319/0.717, allocations: 225.6 kB / 1.163 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.7172, allocations: 75.06 kB / 1.163 GB, free: 5.484 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.7173, allocations: 74.09 kB / 1.163 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7173, allocations: 4 kB / 1.163 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7173, allocations: 0 / 1.163 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7173, allocations: 3.938 kB / 1.163 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.7185, allocations: 1.125 MB / 1.164 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7185, allocations: 8.031 kB / 1.164 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.7186, allocations: 27.86 kB / 1.164 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.7186, allocations: 480 / 1.164 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7186, allocations: 4 kB / 1.164 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7186, allocations: 4 kB / 1.164 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7186, allocations: 4 kB / 1.164 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.7189, allocations: 259.8 kB / 1.165 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.7191, allocations: 172.1 kB / 1.165 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.7192, allocations: 11.98 kB / 1.165 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.7195, allocations: 19.98 kB / 1.165 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.7195, allocations: 15.86 kB / 1.165 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.7195, allocations: 8 kB / 1.165 GB, free: 3.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007375/0.7203, allocations: 0.5849 MB / 1.165 GB, free: 3.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7203, allocations: 0 / 1.165 GB, free: 3.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005114/0.7208, allocations: 159.8 kB / 1.165 GB, free: 2.859 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.0007902/0.7216, allocations: 0.8857 MB / 1.166 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.7221, allocations: 229.2 kB / 1.167 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7221, allocations: 4.062 kB / 1.167 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.7222, allocations: 47.92 kB / 1.167 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.7236, allocations: 367.5 kB / 1.167 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.7305, allocations: 5.784 MB / 1.173 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.731, allocations: 0.937 MB / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.7314, allocations: 142.1 kB / 1.174 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.7317, allocations: 235.3 kB / 1.174 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.7317, allocations: 0 / 1.174 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7037/1.435, allocations: 17.18 MB / 1.191 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.436, allocations: 282.8 kB / 1.191 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.747, allocations: 0 / 1.191 GB, free: 8.668 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