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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 115.8 kB / 16.37 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.001251/0.001251, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 63.27 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3294, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8236/1.153, allocations: 190.5 MB / 1.213 GB, free: 11.1 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009692/1.163, allocations: 5.717 MB / 1.218 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/1.165, allocations: 39.19 kB / 1.218 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.166, allocations: 0.5679 MB / 1.219 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/1.172, allocations: 1.836 MB / 1.221 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/1.175, allocations: 1.175 MB / 1.222 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004199/1.179, allocations: 2.952 MB / 1.225 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/1.181, allocations: 1.132 MB / 1.226 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/1.183, allocations: 1.049 MB / 1.227 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/1.185, allocations: 0.9768 MB / 1.228 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/1.185, allocations: 120 kB / 1.228 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/1.189, allocations: 1.446 MB / 1.229 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005855/1.189, allocations: 0.565 MB / 1.23 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009703/1.19, allocations: 0.7273 MB / 1.231 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/1.194, allocations: 2.325 MB / 1.233 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.194, allocations: 0 / 1.233 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.194, allocations: 0 / 1.233 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.219e-05/1.194, allocations: 0 / 1.233 GB, free: 10.46 MB / 0.9356 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.002634/1.196, allocations: 1.613 MB / 1.234 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/1.196, allocations: 12.03 kB / 1.234 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.198, allocations: 330.2 kB / 1.235 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.2, allocations: 0.9175 MB / 1.236 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/1.2, allocations: 77.98 kB / 1.236 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.2, allocations: 99.91 kB / 1.236 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/1.202, allocations: 1.085 MB / 1.237 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.202, allocations: 0 / 1.237 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/1.202, allocations: 44 kB / 1.237 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/1.202, allocations: 41.97 kB / 1.237 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/1.204, allocations: 0.9954 MB / 1.238 GB, free: 5.156 MB / 0.9356 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.006504/1.211, allocations: 4.216 MB / 1.242 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/1.211, allocations: 0.5942 MB / 1.243 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/1.212, allocations: 347 kB / 1.243 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/1.212, allocations: 105.5 kB / 1.243 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.212, allocations: 43 kB / 1.243 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/1.212, allocations: 0 / 1.243 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55): time 0.003992/1.216, allocations: 2.204 MB / 1.245 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.216, allocations: 55.97 kB / 1.245 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.217, allocations: 0.8842 MB / 1.246 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/1.217, allocations: 45.64 kB / 1.246 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.218, allocations: 0.5184 MB / 1.247 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/1.218, allocations: 189.3 kB / 1.247 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.218, allocations: 134.5 kB / 1.247 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.218, allocations: 338 kB / 1.247 GB, free: 11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/1.219, allocations: 281.8 kB / 1.248 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/1.219, allocations: 433 kB / 1.248 GB, free: 10.25 MB / 0.9512 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.003868/1.223, allocations: 1.747 MB / 1.25 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.223, allocations: 0 / 1.25 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001517/1.225, allocations: 0.9295 MB / 1.251 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.225, allocations: 8 kB / 1.251 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.225, allocations: 4.5 kB / 1.251 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/1.225, allocations: 102.4 kB / 1.251 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/1.226, allocations: 159.8 kB / 1.251 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/1.229, allocations: 4.638 MB / 1.255 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.23, allocations: 31.97 kB / 1.255 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/1.23, allocations: 24 kB / 1.256 GB, free: 2.098 MB / 0.9512 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.0005421/1.231, allocations: 353.5 kB / 1.256 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.231, allocations: 98.88 kB / 1.256 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/1.231, allocations: 113.2 kB / 1.256 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/1.231, allocations: 4 kB / 1.256 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.231, allocations: 0 / 1.256 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/1.232, allocations: 0.7691 MB / 1.257 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.236, allocations: 1.981 MB / 1.259 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.236, allocations: 4 kB / 1.259 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/1.236, allocations: 144.2 kB / 1.259 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/1.236, allocations: 48.83 kB / 1.259 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/1.236, allocations: 12 kB / 1.259 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.238, allocations: 1.602 MB / 1.261 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.238, allocations: 7.938 kB / 1.261 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/1.24, allocations: 1.204 MB / 1.262 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/1.24, allocations: 259.8 kB / 1.262 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.24, allocations: 23.88 kB / 1.262 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/1.241, allocations: 29.41 kB / 1.262 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.241, allocations: 55.89 kB / 1.262 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/1.241, allocations: 31.92 kB / 1.262 GB, free: 11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008129/1.242, allocations: 0.6122 MB / 1.263 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.242, allocations: 0 / 1.263 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009432/1.243, allocations: 308 kB / 1.263 GB, free: 10.09 MB / 0.9669 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.0004653/1.243, allocations: 200.5 kB / 1.263 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.245, allocations: 1.007 MB / 1.264 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.245, allocations: 4 kB / 1.264 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/1.246, allocations: 447.7 kB / 1.265 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.248, allocations: 0.6537 MB / 1.265 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/1.251, allocations: 2.095 MB / 1.267 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/1.252, allocations: 1.17 MB / 1.268 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007763/1.253, allocations: 252.4 kB / 1.269 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.253, allocations: 75.44 kB / 1.269 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/1.253, allocations: 3.938 kB / 1.269 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of Templates: time 0.03796/1.291, allocations: 22.25 MB / 1.29 GB, free: 14.12 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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