Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.004498/0.004498, allocations: 102.4 kB / 15.73 MB, free: 6.492 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.001069/0.001069, allocations: 189.3 kB / 16.67 MB, free: 6.379 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.03 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9182/1.227, allocations: 190.3 MB / 1.273 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01028/1.237, allocations: 5.696 MB / 1.279 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/1.239, allocations: 42.92 kB / 1.279 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/1.241, allocations: 0.5616 MB / 1.279 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005263/1.247, allocations: 1.609 MB / 1.281 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/1.251, allocations: 1.208 MB / 1.282 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005183/1.256, allocations: 2.505 MB / 1.285 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/1.258, allocations: 0.9944 MB / 1.286 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/1.26, allocations: 1.038 MB / 1.287 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/1.263, allocations: 0.8154 MB / 1.287 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/1.263, allocations: 101.5 kB / 1.288 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/1.267, allocations: 1.525 MB / 1.289 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008351/1.268, allocations: 496.4 kB / 1.29 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.269, allocations: 0.6238 MB / 1.29 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004237/1.273, allocations: 2.106 MB / 1.292 GB, free: 2.738 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.273, allocations: 0 / 1.292 GB, free: 2.738 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/1.273, allocations: 2.875 kB / 1.292 GB, free: 2.738 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.657e-05/1.273, allocations: 0 / 1.292 GB, free: 2.738 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002679/1.276, allocations: 1.472 MB / 1.294 GB, free: 1.961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.276, allocations: 11.05 kB / 1.294 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/1.276, allocations: 139 kB / 1.294 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/1.278, allocations: 332.3 kB / 1.294 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.28, allocations: 0.8187 MB / 1.295 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/1.28, allocations: 62.09 kB / 1.295 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.28, allocations: 86.25 kB / 1.295 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.282, allocations: 1.072 MB / 1.296 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.282, allocations: 2.25 kB / 1.296 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/1.282, allocations: 37.91 kB / 1.296 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.282, allocations: 34.81 kB / 1.296 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.284, allocations: 0.8352 MB / 1.297 GB, free: 1.367 MB / 1.014 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.005759/1.289, allocations: 4.257 MB / 1.301 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/1.29, allocations: 370.5 kB / 1.301 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/1.29, allocations: 215.6 kB / 1.302 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/1.291, allocations: 101 kB / 1.302 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.291, allocations: 42.28 kB / 1.302 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/1.291, allocations: 1.094 kB / 1.302 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002668/1.293, allocations: 1.324 MB / 1.303 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.293, allocations: 59.03 kB / 1.303 GB, free: 14.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.295, allocations: 1.004 MB / 1.304 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/1.295, allocations: 37.23 kB / 1.304 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.295, allocations: 497.3 kB / 1.305 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.295, allocations: 138 kB / 1.305 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.295, allocations: 122.2 kB / 1.305 GB, free: 13.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.296, allocations: 334.5 kB / 1.305 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/1.296, allocations: 237 kB / 1.305 GB, free: 13.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/1.297, allocations: 426 kB / 1.306 GB, free: 13.46 MB / 1.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/1.299, allocations: 1.224 MB / 1.307 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.299, allocations: 1.812 kB / 1.307 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001463/1.301, allocations: 0.7721 MB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.301, allocations: 7.625 kB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.301, allocations: 6.5 kB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.301, allocations: 10.14 kB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/1.301, allocations: 142 kB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.301, allocations: 19.91 kB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.303, allocations: 57.48 kB / 1.308 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/1.303, allocations: 31.86 kB / 1.308 GB, free: 13.05 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0005981/1.303, allocations: 308.8 kB / 1.308 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.303, allocations: 98.12 kB / 1.308 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/1.304, allocations: 102.1 kB / 1.309 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.304, allocations: 4.875 kB / 1.309 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.304, allocations: 0 / 1.309 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006836/1.304, allocations: 0.6841 MB / 1.309 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/1.307, allocations: 1.587 MB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.307, allocations: 4.5 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/1.307, allocations: 85.55 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.307, allocations: 8.875 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/1.307, allocations: 14.19 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.307, allocations: 6.656 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.307, allocations: 7.062 kB / 1.311 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.308, allocations: 0.8337 MB / 1.312 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/1.309, allocations: 236.5 kB / 1.312 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.309, allocations: 21.59 kB / 1.312 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/1.31, allocations: 33.81 kB / 1.312 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/1.31, allocations: 39.86 kB / 1.312 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/1.31, allocations: 24.88 kB / 1.312 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001023/1.311, allocations: 0.7094 MB / 1.313 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.311, allocations: 1.062 kB / 1.313 GB, free: 11.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001012/1.312, allocations: 254.8 kB / 1.313 GB, free: 11.4 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001725/1.314, allocations: 1.488 MB / 1.314 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001007/1.315, allocations: 0.5035 MB / 1.315 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.315, allocations: 2.812 kB / 1.315 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/1.315, allocations: 192 kB / 1.315 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.318, allocations: 0.6069 MB / 1.316 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.329, allocations: 7.588 MB / 1.323 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/1.33, allocations: 1.099 MB / 1.324 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001063/1.331, allocations: 247.3 kB / 1.324 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/1.331, allocations: 344.8 kB / 1.325 GB, free: 7.023 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/1.331, allocations: 0 / 1.325 GB, free: 7.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/1.386, allocations: 28.24 MB / 1.352 GB, free: 15.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.263/10.65, allocations: 11.7 kB / 1.352 GB, free: 15.2 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches