Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.954/2.954, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 66.7 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2101/0.5164, allocations: 191.3 MB / 1.513 GB, free: 1.938 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.5335, allocations: 13.25 MB / 1.526 GB, free: 4.645 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.5346, allocations: 43.62 kB / 1.526 GB, free: 4.602 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5362, allocations: 449.1 kB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.5395, allocations: 1.224 MB / 1.527 GB, free: 2.934 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.5414, allocations: 0.748 MB / 1.528 GB, free: 2.188 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.5443, allocations: 2.055 MB / 1.53 GB, free: 128 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.5455, allocations: 0.6216 MB / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.5501, allocations: 2.051 MB / 1.533 GB, free: 13.42 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.5518, allocations: 0.7037 MB / 1.533 GB, free: 12.72 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.552, allocations: 80 kB / 1.533 GB, free: 12.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.5538, allocations: 0.9276 MB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.5543, allocations: 394.8 kB / 1.535 GB, free: 11.32 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.5551, allocations: 0.5015 MB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.5574, allocations: 1.502 MB / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5574, allocations: 0 / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5574, allocations: 0 / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.5574, allocations: 0 / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00217/0.5596, allocations: 1.193 MB / 1.538 GB, free: 8.086 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5597, allocations: 8.031 kB / 1.538 GB, free: 8.078 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.5598, allocations: 122.5 kB / 1.538 GB, free: 7.949 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.561, allocations: 219.1 kB / 1.538 GB, free: 7.734 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.5622, allocations: 0.6116 MB / 1.539 GB, free: 7.094 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.5623, allocations: 58 kB / 1.539 GB, free: 7.039 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5624, allocations: 79.95 kB / 1.539 GB, free: 6.961 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5638, allocations: 0.9288 MB / 1.54 GB, free: 5.945 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.5638, allocations: 7.938 kB / 1.54 GB, free: 5.938 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/0.5638, allocations: 35.94 kB / 1.54 GB, free: 5.902 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.5639, allocations: 29.31 kB / 1.54 GB, free: 5.875 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5649, allocations: 0.6216 MB / 1.54 GB, free: 5.254 MB / 1.232 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.004643/0.5695, allocations: 4.614 MB / 1.545 GB, free: 336 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.5703, allocations: 460 kB / 1.545 GB, free: 15.85 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.5707, allocations: 232.3 kB / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.5708, allocations: 19.98 kB / 1.546 GB, free: 15.59 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5708, allocations: 46.48 kB / 1.546 GB, free: 15.54 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.5708, allocations: 7.938 kB / 1.546 GB, free: 15.53 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.002605/0.5734, allocations: 1.547 MB / 1.547 GB, free: 13.95 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.5735, allocations: 106.8 kB / 1.547 GB, free: 13.82 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.5743, allocations: 0.7116 MB / 1.548 GB, free: 13.1 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.5744, allocations: 37.95 kB / 1.548 GB, free: 13.05 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.5747, allocations: 428.5 kB / 1.548 GB, free: 12.63 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.5749, allocations: 174.5 kB / 1.549 GB, free: 12.46 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.575, allocations: 114.3 kB / 1.549 GB, free: 12.34 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5752, allocations: 330 kB / 1.549 GB, free: 12.02 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.5755, allocations: 185.2 kB / 1.549 GB, free: 11.84 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.5759, allocations: 421 kB / 1.55 GB, free: 11.33 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.5781, allocations: 1.105 MB / 1.551 GB, free: 10.14 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5781, allocations: 0 / 1.551 GB, free: 10.14 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009818/0.5791, allocations: 0.6833 MB / 1.551 GB, free: 9.445 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5791, allocations: 8 kB / 1.551 GB, free: 9.438 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5791, allocations: 8 kB / 1.551 GB, free: 9.43 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5792, allocations: 8 kB / 1.551 GB, free: 9.422 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.5796, allocations: 124.5 kB / 1.552 GB, free: 9.301 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.5796, allocations: 15.92 kB / 1.552 GB, free: 9.285 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.5801, allocations: 24 kB / 1.552 GB, free: 9.262 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.5802, allocations: 35.98 kB / 1.552 GB, free: 9.227 MB / 1.248 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003337/0.5805, allocations: 267.1 kB / 1.552 GB, free: 8.957 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5807, allocations: 103.3 kB / 1.552 GB, free: 8.855 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.5808, allocations: 87.67 kB / 1.552 GB, free: 8.77 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5808, allocations: 8 kB / 1.552 GB, free: 8.762 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5808, allocations: 0 / 1.552 GB, free: 8.762 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007434/0.5816, allocations: 0.7041 MB / 1.553 GB, free: 7.973 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.5839, allocations: 1.614 MB / 1.554 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.5839, allocations: 4 kB / 1.554 GB, free: 6.254 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.5844, allocations: 104.3 kB / 1.554 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.5844, allocations: 8 kB / 1.554 GB, free: 6.145 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.5844, allocations: 16 kB / 1.554 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5844, allocations: 7.938 kB / 1.554 GB, free: 6.121 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5844, allocations: 4 kB / 1.554 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5855, allocations: 0.8695 MB / 1.555 GB, free: 5.184 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.5858, allocations: 139.4 kB / 1.555 GB, free: 5.047 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.5859, allocations: 12 kB / 1.555 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.5863, allocations: 19.98 kB / 1.555 GB, free: 5.016 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.5864, allocations: 43.81 kB / 1.555 GB, free: 4.973 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5864, allocations: 20 kB / 1.555 GB, free: 4.953 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006053/0.587, allocations: 0.5107 MB / 1.556 GB, free: 4.445 MB / 1.248 GB Notification: Performance of sort global known variables: time 7.1e-08/0.587, allocations: 0 / 1.556 GB, free: 4.445 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006383/0.5877, allocations: 203.9 kB / 1.556 GB, free: 4.246 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001625/0.5893, allocations: 1.487 MB / 1.558 GB, free: 2.699 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.59, allocations: 461.5 kB / 1.558 GB, free: 2.25 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.59, allocations: 0 / 1.558 GB, free: 2.25 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.5903, allocations: 208 kB / 1.558 GB, free: 2.047 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.5922, allocations: 481.1 kB / 1.559 GB, free: 1.59 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.6006, allocations: 6.652 MB / 1.565 GB, free: 10.54 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.6012, allocations: 1.028 MB / 1.566 GB, free: 9.48 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005636/0.6018, allocations: 195 kB / 1.566 GB, free: 9.285 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.6022, allocations: 303.3 kB / 1.567 GB, free: 8.988 MB / 1.264 GB Notification: Performance of SimCode: time 7.91e-07/0.6022, allocations: 0 / 1.567 GB, free: 8.988 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.6583, allocations: 22.77 MB / 1.589 GB, free: 2.621 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.98, allocations: 5.875 kB / 1.589 GB, free: 2.617 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.087149481056258]