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.006506/0.006506, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.001402/0.001402, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.405/2.405, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 72.09 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1913/0.9232, allocations: 187.1 MB / 1.349 GB, free: 7.961 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.9387, allocations: 13.02 MB / 1.362 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.9398, allocations: 31.81 kB / 1.362 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.9412, allocations: 421.3 kB / 1.362 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.9436, allocations: 0.9527 MB / 1.363 GB, free: 9.496 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.9456, allocations: 0.7228 MB / 1.364 GB, free: 8.777 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.9476, allocations: 1.504 MB / 1.365 GB, free: 7.27 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.9486, allocations: 0.6595 MB / 1.366 GB, free: 6.594 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.9522, allocations: 1.771 MB / 1.368 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.9536, allocations: 0.5038 MB / 1.368 GB, free: 4.316 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.9537, allocations: 56 kB / 1.368 GB, free: 4.262 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.9553, allocations: 0.8848 MB / 1.369 GB, free: 3.375 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.9557, allocations: 271.3 kB / 1.369 GB, free: 3.109 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005303/0.9562, allocations: 390 kB / 1.37 GB, free: 2.727 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.958, allocations: 1.171 MB / 1.371 GB, free: 1.551 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.958, allocations: 0 / 1.371 GB, free: 1.551 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.796e-06/0.958, allocations: 0 / 1.371 GB, free: 1.551 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.9581, allocations: 3.938 kB / 1.371 GB, free: 1.547 MB / 1.092 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.001673/0.9598, allocations: 1.074 MB / 1.372 GB, free: 428 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.9598, allocations: 12.92 kB / 1.372 GB, free: 416 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.9599, allocations: 98.52 kB / 1.372 GB, free: 308 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.961, allocations: 199.2 kB / 1.372 GB, free: 108 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.9619, allocations: 0.5563 MB / 1.373 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.962, allocations: 45.31 kB / 1.373 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.9621, allocations: 56 kB / 1.373 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.9633, allocations: 0.7828 MB / 1.373 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.9633, allocations: 4 kB / 1.373 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.9634, allocations: 31.94 kB / 1.374 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.9634, allocations: 24.94 kB / 1.374 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.9644, allocations: 463.3 kB / 1.374 GB, free: 14.01 MB / 1.107 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.003889/0.9683, allocations: 4.383 MB / 1.378 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.9685, allocations: 110.3 kB / 1.378 GB, free: 9.25 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.9686, allocations: 71.58 kB / 1.378 GB, free: 9.168 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.9687, allocations: 89.11 kB / 1.379 GB, free: 9.062 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.9688, allocations: 46.55 kB / 1.379 GB, free: 9.008 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.9688, allocations: 4 kB / 1.379 GB, free: 9.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007007/0.9695, allocations: 241 kB / 1.379 GB, free: 8.762 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.9696, allocations: 128.8 kB / 1.379 GB, free: 8.605 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.9707, allocations: 0.8447 MB / 1.38 GB, free: 7.754 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.9708, allocations: 33.64 kB / 1.38 GB, free: 7.715 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.9711, allocations: 411.6 kB / 1.38 GB, free: 7.309 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.9711, allocations: 39.69 kB / 1.38 GB, free: 7.27 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.9713, allocations: 93.97 kB / 1.38 GB, free: 7.172 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9714, allocations: 329.9 kB / 1.381 GB, free: 6.844 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.9717, allocations: 108.7 kB / 1.381 GB, free: 6.738 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.9722, allocations: 363.3 kB / 1.381 GB, free: 6.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.9728, allocations: 445.5 kB / 1.381 GB, free: 5.727 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9728, allocations: 0 / 1.381 GB, free: 5.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001043/0.9739, allocations: 0.4969 MB / 1.382 GB, free: 5.223 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.9739, allocations: 8 kB / 1.382 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9739, allocations: 8.844 kB / 1.382 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.974, allocations: 12 kB / 1.382 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.9743, allocations: 95.83 kB / 1.382 GB, free: 5.102 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.9743, allocations: 19.91 kB / 1.382 GB, free: 5.082 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.975, allocations: 127.2 kB / 1.382 GB, free: 4.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.9751, allocations: 24 kB / 1.382 GB, free: 4.934 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002518/0.9754, allocations: 225.6 kB / 1.382 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.9755, allocations: 79.56 kB / 1.383 GB, free: 4.625 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.9756, allocations: 74.17 kB / 1.383 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9757, allocations: 4 kB / 1.383 GB, free: 4.547 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9757, allocations: 0 / 1.383 GB, free: 4.547 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9757, allocations: 3.938 kB / 1.383 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.977, allocations: 1.124 MB / 1.384 GB, free: 3.328 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.977, allocations: 4 kB / 1.384 GB, free: 3.324 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.9771, allocations: 19.92 kB / 1.384 GB, free: 3.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9771, allocations: 7.938 kB / 1.384 GB, free: 3.297 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.9772, allocations: 4 kB / 1.384 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9772, allocations: 4.125 kB / 1.384 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.9772, allocations: 4 kB / 1.384 GB, free: 3.285 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.9775, allocations: 276.4 kB / 1.384 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.9777, allocations: 176.5 kB / 1.384 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.9779, allocations: 8 kB / 1.384 GB, free: 2.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.9782, allocations: 11.98 kB / 1.384 GB, free: 2.758 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.9782, allocations: 15.92 kB / 1.384 GB, free: 2.742 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.9783, allocations: 8 kB / 1.384 GB, free: 2.734 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008743/0.9791, allocations: 0.585 MB / 1.385 GB, free: 2.152 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9791, allocations: 3.938 kB / 1.385 GB, free: 2.148 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006355/0.9798, allocations: 159.8 kB / 1.385 GB, free: 1.992 MB / 1.107 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.001035/0.9808, allocations: 0.886 MB / 1.386 GB, free: 1.066 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005664/0.9814, allocations: 244.9 kB / 1.386 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9814, allocations: 0 / 1.386 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.9815, allocations: 48.72 kB / 1.386 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.9832, allocations: 379.3 kB / 1.386 GB, free: 432 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.9906, allocations: 5.466 MB / 1.392 GB, free: 10.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.9911, allocations: 0.9331 MB / 1.393 GB, free: 9.637 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004789/0.9916, allocations: 150.1 kB / 1.393 GB, free: 9.488 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.9919, allocations: 239.3 kB / 1.393 GB, free: 9.254 MB / 1.123 GB Notification: Performance of SimCode: time 3.3e-07/0.9919, allocations: 0 / 1.393 GB, free: 9.254 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/1.034, allocations: 17.98 MB / 1.411 GB, free: 7.594 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.716, allocations: 10.48 kB / 1.411 GB, free: 7.586 MB / 1.139 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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