Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.007038/0.007038, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001361/0.001361, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2929, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8293/1.122, allocations: 190.5 MB / 1.393 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009649/1.132, allocations: 5.712 MB / 1.399 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/1.133, allocations: 41.31 kB / 1.399 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/1.135, allocations: 0.576 MB / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/1.14, allocations: 1.832 MB / 1.401 GB, free: 8.66 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/1.143, allocations: 1.177 MB / 1.402 GB, free: 7.762 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004711/1.148, allocations: 2.96 MB / 1.405 GB, free: 6.059 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/1.15, allocations: 1.119 MB / 1.406 GB, free: 5.395 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/1.153, allocations: 1.077 MB / 1.407 GB, free: 4.766 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.155, allocations: 0.9676 MB / 1.408 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004905/1.156, allocations: 123.1 kB / 1.409 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/1.16, allocations: 1.444 MB / 1.41 GB, free: 3.438 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/1.161, allocations: 0.5674 MB / 1.41 GB, free: 3.062 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/1.163, allocations: 0.7289 MB / 1.411 GB, free: 2.594 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004341/1.168, allocations: 2.336 MB / 1.413 GB, free: 1.078 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.168, allocations: 0 / 1.413 GB, free: 1.078 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.653e-06/1.168, allocations: 3.938 kB / 1.413 GB, free: 1.074 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.855e-05/1.168, allocations: 0 / 1.413 GB, free: 1.074 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00336/1.171, allocations: 1.615 MB / 1.415 GB, free: 15.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.171, allocations: 9.531 kB / 1.415 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/1.171, allocations: 162.4 kB / 1.415 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/1.174, allocations: 323.1 kB / 1.416 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/1.176, allocations: 0.9174 MB / 1.416 GB, free: 14.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/1.176, allocations: 82.33 kB / 1.417 GB, free: 14.87 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.176, allocations: 99.11 kB / 1.417 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.178, allocations: 1.079 MB / 1.418 GB, free: 14.24 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.178, allocations: 0 / 1.418 GB, free: 14.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/1.178, allocations: 41.97 kB / 1.418 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/1.178, allocations: 41.23 kB / 1.418 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/1.18, allocations: 0.993 MB / 1.419 GB, free: 13.72 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.006445/1.186, allocations: 4.224 MB / 1.423 GB, free: 10 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/1.187, allocations: 0.5831 MB / 1.423 GB, free: 9.41 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/1.187, allocations: 350.5 kB / 1.424 GB, free: 9.062 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.188, allocations: 101.5 kB / 1.424 GB, free: 8.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.188, allocations: 47 kB / 1.424 GB, free: 8.887 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/1.188, allocations: 0 / 1.424 GB, free: 8.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=55): time 0.004087/1.192, allocations: 2.193 MB / 1.426 GB, free: 6.582 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.192, allocations: 59.91 kB / 1.426 GB, free: 6.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.193, allocations: 0.8842 MB / 1.427 GB, free: 5.621 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/1.193, allocations: 45.69 kB / 1.427 GB, free: 5.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/1.193, allocations: 0.5184 MB / 1.427 GB, free: 5.043 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.194, allocations: 197.2 kB / 1.428 GB, free: 4.848 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.194, allocations: 126.6 kB / 1.428 GB, free: 4.719 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.194, allocations: 341.9 kB / 1.428 GB, free: 4.379 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/1.195, allocations: 285.8 kB / 1.428 GB, free: 4.102 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/1.195, allocations: 433 kB / 1.429 GB, free: 3.625 MB / 1.107 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.003965/1.199, allocations: 1.742 MB / 1.431 GB, free: 1.812 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.199, allocations: 0 / 1.431 GB, free: 1.812 MB / 1.107 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001558/1.201, allocations: 0.9218 MB / 1.431 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.201, allocations: 8.5 kB / 1.431 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.201, allocations: 4 kB / 1.431 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/1.201, allocations: 102.5 kB / 1.432 GB, free: 0.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.202, allocations: 168.8 kB / 1.432 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/1.205, allocations: 4.642 MB / 1.436 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.206, allocations: 27.92 kB / 1.436 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/1.206, allocations: 32 kB / 1.436 GB, free: 11.46 MB / 1.123 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006614/1.207, allocations: 341.6 kB / 1.437 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/1.207, allocations: 102.8 kB / 1.437 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/1.208, allocations: 109.2 kB / 1.437 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.208, allocations: 8 kB / 1.437 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.208, allocations: 0 / 1.437 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/1.209, allocations: 0.7652 MB / 1.438 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/1.212, allocations: 1.985 MB / 1.439 GB, free: 8.008 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.212, allocations: 4 kB / 1.439 GB, free: 8.004 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/1.213, allocations: 148.2 kB / 1.44 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/1.213, allocations: 36.83 kB / 1.44 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.213, allocations: 16 kB / 1.44 GB, free: 7.805 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.215, allocations: 1.613 MB / 1.441 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.215, allocations: 7.938 kB / 1.441 GB, free: 6.035 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.216, allocations: 1.204 MB / 1.442 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/1.217, allocations: 259.9 kB / 1.443 GB, free: 4.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.217, allocations: 12 kB / 1.443 GB, free: 4.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/1.218, allocations: 34.92 kB / 1.443 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.218, allocations: 47.83 kB / 1.443 GB, free: 4.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.601e-05/1.218, allocations: 35.98 kB / 1.443 GB, free: 4.375 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009451/1.219, allocations: 0.6161 MB / 1.443 GB, free: 3.762 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.219, allocations: 0 / 1.443 GB, free: 3.762 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001184/1.221, allocations: 304 kB / 1.444 GB, free: 3.465 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/1.223, allocations: 1.849 MB / 1.446 GB, free: 1.562 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.225, allocations: 1.018 MB / 1.447 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.225, allocations: 0 / 1.447 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/1.226, allocations: 444.1 kB / 1.447 GB, free: 60 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/1.229, allocations: 0.6529 MB / 1.448 GB, free: 15.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.241, allocations: 7.922 MB / 1.455 GB, free: 7.176 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/1.242, allocations: 1.166 MB / 1.456 GB, free: 5.98 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009355/1.243, allocations: 256.4 kB / 1.457 GB, free: 5.727 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/1.243, allocations: 387.3 kB / 1.457 GB, free: 5.352 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.243, allocations: 0 / 1.457 GB, free: 5.352 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06535/1.308, allocations: 31 MB / 1.487 GB, free: 6.855 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.58, allocations: 10.53 kB / 1.487 GB, free: 6.848 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches