Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00497/0.00497, allocations: 100.3 kB / 15.73 MB, free: 6 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.001108/0.001108, allocations: 195.3 kB / 16.67 MB, free: 5.918 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.11/2.11, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7894, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.204/0.9935, allocations: 187.3 MB / 1.27 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01541/1.009, allocations: 13.07 MB / 1.283 GB, free: 5.297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/1.01, allocations: 31.81 kB / 1.283 GB, free: 5.266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/1.012, allocations: 425.2 kB / 1.284 GB, free: 4.848 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003237/1.015, allocations: 1.166 MB / 1.285 GB, free: 3.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/1.017, allocations: 0.7113 MB / 1.285 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002888/1.02, allocations: 2.016 MB / 1.287 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/1.021, allocations: 0.8317 MB / 1.288 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/1.025, allocations: 1.837 MB / 1.29 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.027, allocations: 0.6639 MB / 1.291 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/1.028, allocations: 80 kB / 1.291 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/1.03, allocations: 0.8652 MB / 1.292 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/1.03, allocations: 395 kB / 1.292 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006714/1.031, allocations: 0.4937 MB / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/1.033, allocations: 1.495 MB / 1.294 GB, free: 10.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.033, allocations: 0 / 1.294 GB, free: 10.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/1.033, allocations: 4 kB / 1.294 GB, free: 10.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.033, allocations: 4 kB / 1.294 GB, free: 10.25 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001789/1.035, allocations: 1.231 MB / 1.295 GB, free: 8.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.035, allocations: 8.031 kB / 1.295 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/1.035, allocations: 118.5 kB / 1.295 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/1.036, allocations: 218.6 kB / 1.295 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.037, allocations: 0.6871 MB / 1.296 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.037, allocations: 58 kB / 1.296 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.037, allocations: 75.91 kB / 1.296 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.039, allocations: 0.9365 MB / 1.297 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.039, allocations: 3.938 kB / 1.297 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/1.039, allocations: 39.94 kB / 1.297 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/1.039, allocations: 29.3 kB / 1.297 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/1.04, allocations: 0.6138 MB / 1.298 GB, free: 6.059 MB / 1.029 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.004638/1.045, allocations: 4.578 MB / 1.302 GB, free: 1.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/1.045, allocations: 0.5485 MB / 1.303 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/1.046, allocations: 240.8 kB / 1.303 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.046, allocations: 112.9 kB / 1.303 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.046, allocations: 38.56 kB / 1.303 GB, free: 184 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/1.046, allocations: 0 / 1.303 GB, free: 184 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002794/1.049, allocations: 1.585 MB / 1.305 GB, free: 14.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.049, allocations: 114.7 kB / 1.305 GB, free: 14.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/1.05, allocations: 0.7154 MB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/1.05, allocations: 37.7 kB / 1.306 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/1.05, allocations: 415.7 kB / 1.306 GB, free: 13.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.05, allocations: 161.7 kB / 1.306 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.05, allocations: 114.2 kB / 1.306 GB, free: 12.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.05, allocations: 334 kB / 1.307 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/1.051, allocations: 189.2 kB / 1.307 GB, free: 12.42 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/1.051, allocations: 413 kB / 1.307 GB, free: 11.92 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/1.053, allocations: 1.186 MB / 1.308 GB, free: 10.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.053, allocations: 4 kB / 1.308 GB, free: 10.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009898/1.054, allocations: 0.6722 MB / 1.309 GB, free: 9.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.054, allocations: 8 kB / 1.309 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.054, allocations: 8 kB / 1.309 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.054, allocations: 8 kB / 1.309 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/1.055, allocations: 127.8 kB / 1.309 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.055, allocations: 11.98 kB / 1.309 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/1.055, allocations: 32 kB / 1.309 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/1.055, allocations: 31.98 kB / 1.309 GB, free: 9.727 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004043/1.056, allocations: 277.6 kB / 1.309 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.056, allocations: 83 kB / 1.31 GB, free: 9.363 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/1.056, allocations: 87.67 kB / 1.31 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.056, allocations: 11.94 kB / 1.31 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.056, allocations: 0 / 1.31 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007251/1.057, allocations: 0.6999 MB / 1.31 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.059, allocations: 1.631 MB / 1.312 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.059, allocations: 7.984 kB / 1.312 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/1.06, allocations: 107.8 kB / 1.312 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.06, allocations: 4 kB / 1.312 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/1.06, allocations: 16 kB / 1.312 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.06, allocations: 4 kB / 1.312 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.06, allocations: 12.41 kB / 1.312 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.061, allocations: 0.8691 MB / 1.313 GB, free: 5.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/1.061, allocations: 208.1 kB / 1.313 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/1.061, allocations: 15.98 kB / 1.313 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.062, allocations: 16 kB / 1.313 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/1.062, allocations: 39.83 kB / 1.313 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/1.062, allocations: 20 kB / 1.313 GB, free: 5.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006004/1.062, allocations: 0.5146 MB / 1.314 GB, free: 4.828 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 1.314 GB, free: 4.828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006843/1.063, allocations: 203.9 kB / 1.314 GB, free: 4.629 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001608/1.065, allocations: 1.505 MB / 1.315 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007519/1.066, allocations: 475.8 kB / 1.316 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.066, allocations: 5.562 kB / 1.316 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/1.066, allocations: 212.5 kB / 1.316 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.068, allocations: 491 kB / 1.316 GB, free: 1.922 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/1.076, allocations: 6.609 MB / 1.323 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/1.076, allocations: 1.032 MB / 1.324 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006039/1.077, allocations: 195 kB / 1.324 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/1.078, allocations: 299.3 kB / 1.324 GB, free: 9.371 MB / 1.061 GB Notification: Performance of SimCode: time 1.954e-06/1.078, allocations: 0 / 1.324 GB, free: 9.371 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/1.124, allocations: 22.58 MB / 1.346 GB, free: 3.203 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/10.03, allocations: 14.42 kB / 1.346 GB, free: 3.191 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches