Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.005128/0.005128, allocations: 101.5 kB / 15.73 MB, free: 6.059 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.001393/0.001393, allocations: 195.2 kB / 16.68 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.447/2.447, allocations: 437.1 MB / 0.7106 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 71.88 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2605, allocations: 151.6 MB / 1.166 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6809/0.9414, allocations: 187.3 MB / 1.349 GB, free: 5.039 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.956, allocations: 13.07 MB / 1.362 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.957, allocations: 33 kB / 1.362 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.9581, allocations: 423.2 kB / 1.362 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.9606, allocations: 1.161 MB / 1.363 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.9622, allocations: 0.7065 MB / 1.364 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.9643, allocations: 2.013 MB / 1.366 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.9654, allocations: 0.8464 MB / 1.367 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.9689, allocations: 1.808 MB / 1.369 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.9703, allocations: 0.6587 MB / 1.369 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.9705, allocations: 84.5 kB / 1.369 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.9721, allocations: 0.8773 MB / 1.37 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.9725, allocations: 387.7 kB / 1.371 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.973, allocations: 0.4958 MB / 1.371 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.9749, allocations: 1.501 MB / 1.373 GB, free: 5.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.9749, allocations: 2.5 kB / 1.373 GB, free: 5.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9749, allocations: 0 / 1.373 GB, free: 5.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9749, allocations: 0 / 1.373 GB, free: 5.871 MB / 1.045 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.001608/0.9765, allocations: 1.258 MB / 1.374 GB, free: 4.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.9766, allocations: 10.03 kB / 1.374 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.9767, allocations: 127.4 kB / 1.374 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.9778, allocations: 221.7 kB / 1.374 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.9787, allocations: 0.6831 MB / 1.375 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.9788, allocations: 61.44 kB / 1.375 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.9789, allocations: 78.69 kB / 1.375 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.9801, allocations: 0.9304 MB / 1.376 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.9802, allocations: 2.219 kB / 1.376 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.9802, allocations: 32.34 kB / 1.376 GB, free: 3.379 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.9803, allocations: 31.53 kB / 1.376 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.9812, allocations: 0.6166 MB / 1.377 GB, free: 3.07 MB / 1.045 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.00404/0.9852, allocations: 4.589 MB / 1.381 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.986, allocations: 0.5594 MB / 1.382 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.9863, allocations: 245.9 kB / 1.382 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.9865, allocations: 106.9 kB / 1.382 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.9865, allocations: 40.38 kB / 1.382 GB, free: 14.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.9865, allocations: 0 / 1.382 GB, free: 14.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.002382/0.9889, allocations: 1.621 MB / 1.384 GB, free: 13.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.989, allocations: 116.2 kB / 1.384 GB, free: 12.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.9897, allocations: 0.7097 MB / 1.384 GB, free: 12.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.9898, allocations: 36.39 kB / 1.384 GB, free: 12.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.9901, allocations: 428.6 kB / 1.385 GB, free: 12.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.9902, allocations: 171.5 kB / 1.385 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.9904, allocations: 124.2 kB / 1.385 GB, free: 11.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9905, allocations: 327.4 kB / 1.385 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.9908, allocations: 188.5 kB / 1.386 GB, free: 11.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.9912, allocations: 424 kB / 1.386 GB, free: 11.14 MB / 1.061 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.002018/0.9933, allocations: 1.172 MB / 1.387 GB, free: 10.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.9933, allocations: 2.562 kB / 1.387 GB, free: 10.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008866/0.9942, allocations: 0.6757 MB / 1.388 GB, free: 9.996 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9942, allocations: 15.55 kB / 1.388 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.9942, allocations: 5.5 kB / 1.388 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9942, allocations: 14.06 kB / 1.388 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.9946, allocations: 125.5 kB / 1.388 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.9946, allocations: 14.31 kB / 1.388 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.9951, allocations: 24.67 kB / 1.388 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.9952, allocations: 26.38 kB / 1.388 GB, free: 9.938 MB / 1.061 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.0002962/0.9955, allocations: 269.9 kB / 1.388 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.9956, allocations: 91.39 kB / 1.388 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.9958, allocations: 92 kB / 1.388 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9958, allocations: 10.91 kB / 1.388 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9958, allocations: 0 / 1.388 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006835/0.9965, allocations: 0.703 MB / 1.389 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.9986, allocations: 1.646 MB / 1.391 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9986, allocations: 2.094 kB / 1.391 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.999, allocations: 101.9 kB / 1.391 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.999, allocations: 9.25 kB / 1.391 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.9991, allocations: 18.12 kB / 1.391 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.9991, allocations: 8.812 kB / 1.391 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9991, allocations: 4.656 kB / 1.391 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/1, allocations: 0.8707 MB / 1.392 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/1, allocations: 211.2 kB / 1.392 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/1, allocations: 15.38 kB / 1.392 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/1.001, allocations: 25.48 kB / 1.392 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/1.001, allocations: 35.42 kB / 1.392 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/1.001, allocations: 19.41 kB / 1.392 GB, free: 6.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005315/1.001, allocations: 0.5156 MB / 1.393 GB, free: 6.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/1.001, allocations: 0 / 1.393 GB, free: 6.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005805/1.002, allocations: 197.2 kB / 1.393 GB, free: 6.562 MB / 1.061 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.001548/1.004, allocations: 1.507 MB / 1.394 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006557/1.004, allocations: 484.7 kB / 1.395 GB, free: 5.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.004, allocations: 0 / 1.395 GB, free: 5.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/1.005, allocations: 208.3 kB / 1.395 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.006, allocations: 490.9 kB / 1.395 GB, free: 4.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/1.014, allocations: 6.642 MB / 1.402 GB, free: 328 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/1.014, allocations: 1.032 MB / 1.403 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005153/1.015, allocations: 200.1 kB / 1.403 GB, free: 15.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/1.015, allocations: 300.1 kB / 1.403 GB, free: 15.13 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.015, allocations: 3.938 kB / 1.403 GB, free: 15.12 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.544/4.559, allocations: 22.23 MB / 1.425 GB, free: 10.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/16.7, allocations: 9.312 kB / 1.425 GB, free: 10.65 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches