Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001641/0.001641, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001651/0.001651, allocations: 189 kB / 17.2 MB, free: 5.609 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.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.588/2.588, allocations: 437 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 72.08 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8453/1.208, allocations: 190.5 MB / 1.204 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01065/1.218, allocations: 5.705 MB / 1.21 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/1.22, allocations: 43 kB / 1.21 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/1.222, allocations: 0.5562 MB / 1.21 GB, free: 80 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005246/1.227, allocations: 1.839 MB / 1.212 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/1.231, allocations: 1.175 MB / 1.213 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004084/1.235, allocations: 2.962 MB / 1.216 GB, free: 12.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/1.236, allocations: 1.123 MB / 1.217 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/1.238, allocations: 1.05 MB / 1.218 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.241, allocations: 0.9602 MB / 1.219 GB, free: 10.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/1.241, allocations: 122.3 kB / 1.219 GB, free: 10.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/1.244, allocations: 1.444 MB / 1.221 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006813/1.245, allocations: 0.5675 MB / 1.221 GB, free: 9.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000978/1.246, allocations: 0.7266 MB / 1.222 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/1.25, allocations: 2.312 MB / 1.224 GB, free: 6.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.25, allocations: 0 / 1.224 GB, free: 6.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/1.25, allocations: 3.938 kB / 1.224 GB, free: 6.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.93e-05/1.25, allocations: 0 / 1.224 GB, free: 6.398 MB / 0.92 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.002814/1.253, allocations: 1.63 MB / 1.226 GB, free: 4.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/1.253, allocations: 16.86 kB / 1.226 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/1.255, allocations: 326.2 kB / 1.226 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.256, allocations: 0.863 MB / 1.227 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/1.256, allocations: 74 kB / 1.227 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.256, allocations: 96 kB / 1.227 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.258, allocations: 1.093 MB / 1.228 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.258, allocations: 7.938 kB / 1.228 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.258, allocations: 44 kB / 1.228 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.639e-05/1.258, allocations: 37.98 kB / 1.228 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/1.26, allocations: 0.9954 MB / 1.229 GB, free: 1.125 MB / 0.92 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.00659/1.267, allocations: 4.266 MB / 1.233 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/1.268, allocations: 0.5948 MB / 1.234 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/1.268, allocations: 343.1 kB / 1.234 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/1.269, allocations: 105.5 kB / 1.234 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.269, allocations: 43 kB / 1.234 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 5.18e-06/1.269, allocations: 0 / 1.234 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=55): time 0.004456/1.273, allocations: 2.201 MB / 1.236 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.273, allocations: 55.97 kB / 1.237 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.274, allocations: 0.8882 MB / 1.237 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/1.274, allocations: 37.7 kB / 1.237 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/1.275, allocations: 0.5146 MB / 1.238 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.275, allocations: 193.2 kB / 1.238 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.275, allocations: 134.6 kB / 1.238 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.275, allocations: 334 kB / 1.239 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/1.276, allocations: 281.8 kB / 1.239 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/1.277, allocations: 440.8 kB / 1.239 GB, free: 6.188 MB / 0.9356 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.004213/1.281, allocations: 1.755 MB / 1.241 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.281, allocations: 0 / 1.241 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001688/1.283, allocations: 0.9222 MB / 1.242 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.283, allocations: 8 kB / 1.242 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.283, allocations: 4 kB / 1.242 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/1.283, allocations: 94.45 kB / 1.242 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/1.284, allocations: 171.8 kB / 1.242 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.288, allocations: 4.633 MB / 1.247 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.289, allocations: 35.83 kB / 1.247 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.289, allocations: 35.92 kB / 1.247 GB, free: 14.02 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.0006584/1.29, allocations: 349.6 kB / 1.247 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.29, allocations: 98.88 kB / 1.247 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/1.29, allocations: 113.1 kB / 1.247 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.29, allocations: 8 kB / 1.247 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/1.29, allocations: 0 / 1.247 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.291, allocations: 0.7575 MB / 1.248 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/1.295, allocations: 1.991 MB / 1.25 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.295, allocations: 4 kB / 1.25 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/1.295, allocations: 148.2 kB / 1.25 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/1.296, allocations: 44.77 kB / 1.25 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/1.296, allocations: 16 kB / 1.25 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/1.297, allocations: 1.606 MB / 1.252 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.297, allocations: 4 kB / 1.252 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.299, allocations: 1.207 MB / 1.253 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/1.3, allocations: 251.9 kB / 1.253 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.3, allocations: 15.94 kB / 1.253 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/1.301, allocations: 38.33 kB / 1.253 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.301, allocations: 47.88 kB / 1.253 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/1.301, allocations: 31.92 kB / 1.253 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008968/1.302, allocations: 0.6161 MB / 1.254 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/1.302, allocations: 0 / 1.254 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001043/1.303, allocations: 300 kB / 1.254 GB, free: 6.02 MB / 0.9512 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.0004952/1.303, allocations: 193.7 kB / 1.254 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.305, allocations: 1.108 MB / 1.255 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.305, allocations: 4 kB / 1.255 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007009/1.306, allocations: 451.8 kB / 1.256 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.309, allocations: 0.6552 MB / 1.257 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/1.313, allocations: 2.197 MB / 1.259 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/1.314, allocations: 1.17 MB / 1.26 GB, free: 116 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/1.314, allocations: 79.44 kB / 1.26 GB, free: 36 kB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.314, allocations: 0 / 1.26 GB, free: 36 kB / 0.9512 GB Notification: Performance of Templates: time 0.03935/1.353, allocations: 26.93 MB / 1.286 GB, free: 5.242 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]