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.005713/0.005713, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001622/0.001622, allocations: 202 kB / 16.68 MB, free: 5.965 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.747/2.747, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 1.018 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 151.6 MB / 1.166 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7275/1.011, allocations: 187.1 MB / 1.349 GB, free: 5.234 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.028, allocations: 13.01 MB / 1.362 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/1.029, allocations: 32.47 kB / 1.362 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/1.03, allocations: 412.7 kB / 1.362 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/1.033, allocations: 0.9259 MB / 1.363 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/1.035, allocations: 0.716 MB / 1.364 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00218/1.037, allocations: 1.501 MB / 1.365 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009533/1.038, allocations: 0.6578 MB / 1.366 GB, free: 9.801 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/1.042, allocations: 1.716 MB / 1.367 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/1.043, allocations: 0.5023 MB / 1.368 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/1.043, allocations: 52.84 kB / 1.368 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/1.045, allocations: 0.8775 MB / 1.369 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/1.046, allocations: 288 kB / 1.369 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004606/1.046, allocations: 380.1 kB / 1.369 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/1.048, allocations: 1.178 MB / 1.371 GB, free: 7.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.048, allocations: 4 kB / 1.371 GB, free: 7.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/1.048, allocations: 0 / 1.371 GB, free: 7.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.048, allocations: 0 / 1.371 GB, free: 7.27 MB / 1.045 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.001523/1.05, allocations: 1.068 MB / 1.372 GB, free: 6.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.05, allocations: 13.22 kB / 1.372 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/1.05, allocations: 107.1 kB / 1.372 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/1.051, allocations: 196.4 kB / 1.372 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/1.052, allocations: 0.5545 MB / 1.373 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/1.052, allocations: 45.62 kB / 1.373 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/1.052, allocations: 58.98 kB / 1.373 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.053, allocations: 0.7745 MB / 1.373 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.053, allocations: 6.469 kB / 1.373 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/1.053, allocations: 31.84 kB / 1.373 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/1.053, allocations: 22.19 kB / 1.373 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/1.054, allocations: 458.5 kB / 1.374 GB, free: 4.832 MB / 1.045 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.004101/1.058, allocations: 4.39 MB / 1.378 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/1.058, allocations: 100.1 kB / 1.378 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.058, allocations: 77.19 kB / 1.378 GB, free: 0.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/1.059, allocations: 93.41 kB / 1.378 GB, free: 456 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.059, allocations: 41.06 kB / 1.378 GB, free: 408 kB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/1.059, allocations: 0 / 1.378 GB, free: 408 kB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0006627/1.059, allocations: 246.9 kB / 1.379 GB, free: 268 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/1.059, allocations: 133.9 kB / 1.379 GB, free: 104 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.061, allocations: 0.8378 MB / 1.38 GB, free: 15.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/1.061, allocations: 35.08 kB / 1.38 GB, free: 15.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/1.061, allocations: 409 kB / 1.38 GB, free: 15.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/1.061, allocations: 38.56 kB / 1.38 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.061, allocations: 95.09 kB / 1.38 GB, free: 15.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.061, allocations: 322 kB / 1.38 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.062, allocations: 115.8 kB / 1.381 GB, free: 14.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/1.062, allocations: 361.9 kB / 1.381 GB, free: 14.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/1.063, allocations: 441.9 kB / 1.381 GB, free: 13.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.063, allocations: 13.75 kB / 1.381 GB, free: 13.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000918/1.064, allocations: 0.5008 MB / 1.382 GB, free: 13.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.064, allocations: 7.531 kB / 1.382 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.064, allocations: 7.906 kB / 1.382 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.064, allocations: 10.19 kB / 1.382 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/1.064, allocations: 90.2 kB / 1.382 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/1.064, allocations: 20.52 kB / 1.382 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/1.065, allocations: 120.8 kB / 1.382 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/1.065, allocations: 27.5 kB / 1.382 GB, free: 13.59 MB / 1.061 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.0002555/1.065, allocations: 230.6 kB / 1.382 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.065, allocations: 79.09 kB / 1.382 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/1.065, allocations: 73.83 kB / 1.382 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.065, allocations: 1.812 kB / 1.382 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.065, allocations: 2.812 kB / 1.383 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.065, allocations: 3.984 kB / 1.383 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.067, allocations: 1.127 MB / 1.384 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.067, allocations: 2.938 kB / 1.384 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/1.067, allocations: 15.59 kB / 1.384 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.067, allocations: 2.594 kB / 1.384 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.067, allocations: 11.23 kB / 1.384 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.067, allocations: 4.781 kB / 1.384 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.067, allocations: 6.344 kB / 1.384 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/1.067, allocations: 261.8 kB / 1.384 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/1.067, allocations: 174.7 kB / 1.384 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/1.067, allocations: 9.234 kB / 1.384 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.068, allocations: 22.89 kB / 1.384 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/1.068, allocations: 13.88 kB / 1.384 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/1.068, allocations: 5.062 kB / 1.384 GB, free: 11.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007802/1.069, allocations: 0.5869 MB / 1.385 GB, free: 11.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.069, allocations: 4 kB / 1.385 GB, free: 11.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005205/1.069, allocations: 157.5 kB / 1.385 GB, free: 11.54 MB / 1.061 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.0009503/1.07, allocations: 0.8937 MB / 1.386 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005011/1.071, allocations: 249.8 kB / 1.386 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.071, allocations: 0 / 1.386 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/1.071, allocations: 48.05 kB / 1.386 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.072, allocations: 385.1 kB / 1.386 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/1.079, allocations: 5.464 MB / 1.392 GB, free: 6.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/1.08, allocations: 0.9357 MB / 1.393 GB, free: 5.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004492/1.08, allocations: 150.4 kB / 1.393 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.081, allocations: 229.4 kB / 1.393 GB, free: 5.582 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.081, allocations: 0 / 1.393 GB, free: 5.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/1.125, allocations: 17.98 MB / 1.411 GB, free: 9.629 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.312/10.44, allocations: 7.812 kB / 1.411 GB, free: 9.625 MB / 1.076 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