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.001114/0.001114, allocations: 112.5 kB / 15.73 MB, free: 80 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.001241/0.001241, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.628/2.628, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9018/1.224, allocations: 187.3 MB / 1.349 GB, free: 5.152 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01809/1.242, allocations: 13.07 MB / 1.362 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.243, allocations: 33.47 kB / 1.362 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.245, allocations: 429.3 kB / 1.362 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003652/1.249, allocations: 1.203 MB / 1.363 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/1.251, allocations: 0.7037 MB / 1.364 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00332/1.254, allocations: 2.027 MB / 1.366 GB, free: 9.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/1.256, allocations: 0.8409 MB / 1.367 GB, free: 9.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/1.261, allocations: 1.875 MB / 1.369 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/1.264, allocations: 0.6681 MB / 1.369 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/1.264, allocations: 80.97 kB / 1.37 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/1.267, allocations: 0.8853 MB / 1.37 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007578/1.268, allocations: 383.9 kB / 1.371 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/1.269, allocations: 0.4969 MB / 1.371 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/1.273, allocations: 1.5 MB / 1.373 GB, free: 5.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.273, allocations: 0 / 1.373 GB, free: 5.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/1.274, allocations: 0 / 1.373 GB, free: 5.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.088e-05/1.274, allocations: 0 / 1.373 GB, free: 5.91 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.003075/1.277, allocations: 1.231 MB / 1.374 GB, free: 4.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/1.277, allocations: 15.98 kB / 1.374 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002984/1.277, allocations: 119.2 kB / 1.374 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/1.279, allocations: 219.9 kB / 1.374 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.28, allocations: 0.6784 MB / 1.375 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/1.28, allocations: 57 kB / 1.375 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/1.28, allocations: 80.34 kB / 1.375 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.282, allocations: 0.9263 MB / 1.376 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/1.282, allocations: 5.125 kB / 1.376 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.282, allocations: 36.81 kB / 1.376 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-05/1.282, allocations: 27.56 kB / 1.376 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/1.284, allocations: 0.6208 MB / 1.377 GB, free: 3.148 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.005677/1.29, allocations: 4.576 MB / 1.381 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/1.291, allocations: 0.5474 MB / 1.382 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/1.291, allocations: 239.3 kB / 1.382 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/1.291, allocations: 106.5 kB / 1.382 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/1.291, allocations: 45.22 kB / 1.382 GB, free: 14.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/1.291, allocations: 0 / 1.382 GB, free: 14.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.003223/1.294, allocations: 1.587 MB / 1.384 GB, free: 13.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/1.295, allocations: 112 kB / 1.384 GB, free: 13.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/1.295, allocations: 0.7182 MB / 1.384 GB, free: 12.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/1.296, allocations: 36.2 kB / 1.384 GB, free: 12.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/1.296, allocations: 416 kB / 1.385 GB, free: 12.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.296, allocations: 162.7 kB / 1.385 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/1.296, allocations: 120.1 kB / 1.385 GB, free: 12.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.296, allocations: 327.8 kB / 1.385 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/1.297, allocations: 188.9 kB / 1.386 GB, free: 11.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/1.297, allocations: 423.3 kB / 1.386 GB, free: 11.29 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.002161/1.299, allocations: 1.175 MB / 1.387 GB, free: 10.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.299, allocations: 2.719 kB / 1.387 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009911/1.3, allocations: 0.6746 MB / 1.388 GB, free: 10.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.3, allocations: 11.22 kB / 1.388 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.3, allocations: 8.547 kB / 1.388 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.3, allocations: 8.594 kB / 1.388 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.301, allocations: 124.5 kB / 1.388 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/1.301, allocations: 19.52 kB / 1.388 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/1.301, allocations: 29.25 kB / 1.388 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/1.301, allocations: 26.78 kB / 1.388 GB, free: 10.08 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.0004898/1.302, allocations: 269.5 kB / 1.388 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/1.302, allocations: 86.67 kB / 1.388 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/1.302, allocations: 88.98 kB / 1.388 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.302, allocations: 9.438 kB / 1.388 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.302, allocations: 6.375 kB / 1.388 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008202/1.303, allocations: 0.7007 MB / 1.389 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/1.306, allocations: 1.635 MB / 1.391 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.306, allocations: 5.188 kB / 1.391 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/1.307, allocations: 103.4 kB / 1.391 GB, free: 7.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/1.307, allocations: 11.72 kB / 1.391 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/1.307, allocations: 15.59 kB / 1.391 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.307, allocations: 9.625 kB / 1.391 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.307, allocations: 4.969 kB / 1.391 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.308, allocations: 0.8685 MB / 1.392 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/1.308, allocations: 210.7 kB / 1.392 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.309, allocations: 19.7 kB / 1.392 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/1.309, allocations: 17.28 kB / 1.392 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/1.309, allocations: 40.83 kB / 1.392 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/1.309, allocations: 23.12 kB / 1.392 GB, free: 7.031 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006982/1.31, allocations: 0.5103 MB / 1.392 GB, free: 6.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.71e-07/1.31, allocations: 3.938 kB / 1.392 GB, free: 6.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007703/1.311, allocations: 196.7 kB / 1.393 GB, free: 6.719 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.001662/1.312, allocations: 1.497 MB / 1.394 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008662/1.313, allocations: 488.8 kB / 1.395 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.313, allocations: 0 / 1.395 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/1.313, allocations: 207.3 kB / 1.395 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.316, allocations: 496.1 kB / 1.395 GB, free: 4.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.326, allocations: 6.602 MB / 1.402 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.327, allocations: 1.028 MB / 1.403 GB, free: 15.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009173/1.328, allocations: 199.5 kB / 1.403 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/1.329, allocations: 304.8 kB / 1.403 GB, free: 15.32 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.329, allocations: 0 / 1.403 GB, free: 15.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08041/1.409, allocations: 22.24 MB / 1.425 GB, free: 10.78 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.11/10.52, allocations: 6.875 kB / 1.425 GB, free: 10.78 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=50 --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