Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 198 kB / 16.54 MB, free: 6.672 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 472.7 MB / 0.7452 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002392, allocations: 70.77 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3339, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.771/1.105, allocations: 190.3 MB / 1.254 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01237/1.117, allocations: 5.697 MB / 1.26 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/1.119, allocations: 41.16 kB / 1.26 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/1.121, allocations: 0.566 MB / 1.26 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/1.125, allocations: 1.609 MB / 1.262 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/1.129, allocations: 1.191 MB / 1.263 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003571/1.132, allocations: 2.502 MB / 1.265 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.134, allocations: 0.9986 MB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/1.136, allocations: 1.017 MB / 1.267 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/1.138, allocations: 0.8242 MB / 1.268 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/1.138, allocations: 103.9 kB / 1.268 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/1.142, allocations: 1.52 MB / 1.27 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006928/1.142, allocations: 0.4907 MB / 1.27 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009755/1.143, allocations: 0.6263 MB / 1.271 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/1.147, allocations: 2.083 MB / 1.273 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.147, allocations: 2.906 kB / 1.273 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.147, allocations: 0.9062 kB / 1.273 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.519e-05/1.147, allocations: 0 / 1.273 GB, free: 5.324 MB / 0.9981 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.003044/1.15, allocations: 1.474 MB / 1.274 GB, free: 20.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.15, allocations: 10.41 kB / 1.274 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/1.152, allocations: 330.6 kB / 1.275 GB, free: 20.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.154, allocations: 0.774 MB / 1.275 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/1.154, allocations: 122.6 kB / 1.276 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.154, allocations: 89.97 kB / 1.276 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.156, allocations: 1.084 MB / 1.277 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.156, allocations: 1.062 kB / 1.277 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/1.157, allocations: 39.22 kB / 1.277 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/1.157, allocations: 33.75 kB / 1.277 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/1.158, allocations: 0.8394 MB / 1.278 GB, free: 20.01 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.006438/1.165, allocations: 4.306 MB / 1.282 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/1.166, allocations: 363.1 kB / 1.282 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/1.166, allocations: 220.1 kB / 1.282 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/1.166, allocations: 100.4 kB / 1.282 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.166, allocations: 44.12 kB / 1.282 GB, free: 17.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 3.347e-06/1.166, allocations: 0.9062 kB / 1.282 GB, free: 17.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.003126/1.169, allocations: 1.329 MB / 1.284 GB, free: 17.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.169, allocations: 56.25 kB / 1.284 GB, free: 17.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.171, allocations: 1.014 MB / 1.285 GB, free: 16.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/1.172, allocations: 36.11 kB / 1.285 GB, free: 16.92 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/1.172, allocations: 0.4902 MB / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.172, allocations: 134.6 kB / 1.285 GB, free: 16.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.172, allocations: 123.9 kB / 1.286 GB, free: 16.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.172, allocations: 332.3 kB / 1.286 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/1.173, allocations: 242.6 kB / 1.286 GB, free: 16.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/1.174, allocations: 427.6 kB / 1.287 GB, free: 16.11 MB / 1.014 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.002495/1.176, allocations: 1.229 MB / 1.288 GB, free: 15.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.176, allocations: 2.688 kB / 1.288 GB, free: 15.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001552/1.178, allocations: 0.7796 MB / 1.288 GB, free: 15.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.178, allocations: 6.312 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.178, allocations: 12.38 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/1.178, allocations: 8.344 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/1.178, allocations: 144.6 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.178, allocations: 14.95 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.179, allocations: 61.89 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/1.18, allocations: 26.92 kB / 1.289 GB, free: 15.7 MB / 1.014 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.0005003/1.18, allocations: 320 kB / 1.289 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.18, allocations: 105.2 kB / 1.289 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/1.18, allocations: 104 kB / 1.289 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.18, allocations: 3.719 kB / 1.289 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.18, allocations: 1.438 kB / 1.289 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007902/1.181, allocations: 0.6743 MB / 1.29 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/1.184, allocations: 1.583 MB / 1.291 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.184, allocations: 7.547 kB / 1.291 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/1.184, allocations: 90.08 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.184, allocations: 7.047 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/1.184, allocations: 14.25 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.184, allocations: 7.125 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.184, allocations: 7.594 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.185, allocations: 0.8328 MB / 1.292 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/1.186, allocations: 232.7 kB / 1.293 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.186, allocations: 18.48 kB / 1.293 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/1.187, allocations: 42.44 kB / 1.293 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/1.187, allocations: 35.52 kB / 1.293 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/1.187, allocations: 24.55 kB / 1.293 GB, free: 14.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001004/1.188, allocations: 0.7162 MB / 1.293 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.188, allocations: 1.094 kB / 1.293 GB, free: 14.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000992/1.189, allocations: 256.7 kB / 1.294 GB, free: 14.04 MB / 1.014 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.0005515/1.189, allocations: 204.3 kB / 1.294 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.19, allocations: 0.5389 MB / 1.294 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.19, allocations: 5.188 kB / 1.294 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/1.191, allocations: 192.7 kB / 1.295 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.193, allocations: 0.6099 MB / 1.295 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/1.196, allocations: 1.863 MB / 1.297 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/1.197, allocations: 1.099 MB / 1.298 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00105/1.198, allocations: 252.7 kB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/1.198, allocations: 69.81 kB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.198, allocations: 0 / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of Templates: time 0.03275/1.231, allocations: 19.77 MB / 1.318 GB, free: 10.28 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches