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.001641/0.001641, allocations: 108 kB / 15.61 MB, free: 152 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.001879/0.001879, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.334/2.334, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.08 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5083, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1649/0.6732, allocations: 187.3 MB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.6865, allocations: 13.06 MB / 1.213 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.6873, allocations: 31.81 kB / 1.213 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.6883, allocations: 429.2 kB / 1.213 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.6905, allocations: 1.163 MB / 1.215 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.6919, allocations: 0.6949 MB / 1.215 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.6936, allocations: 2.02 MB / 1.217 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008747/0.6945, allocations: 0.8356 MB / 1.218 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.6975, allocations: 1.817 MB / 1.22 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6989, allocations: 0.6631 MB / 1.221 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.6991, allocations: 80 kB / 1.221 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.7007, allocations: 0.8652 MB / 1.221 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.7011, allocations: 383 kB / 1.222 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.7016, allocations: 0.4977 MB / 1.222 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.7032, allocations: 1.468 MB / 1.224 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.7032, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7032, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.7032, allocations: 4 kB / 1.224 GB, free: 14.43 MB / 0.9825 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.001524/0.7048, allocations: 1.236 MB / 1.225 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7048, allocations: 8.031 kB / 1.225 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.7049, allocations: 134.4 kB / 1.225 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.706, allocations: 214.6 kB / 1.225 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.7069, allocations: 0.6365 MB / 1.226 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.7069, allocations: 69.92 kB / 1.226 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.707, allocations: 72 kB / 1.226 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.7082, allocations: 0.9366 MB / 1.227 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7082, allocations: 3.938 kB / 1.227 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.7083, allocations: 39.94 kB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.7083, allocations: 29.31 kB / 1.227 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.7092, allocations: 0.6177 MB / 1.228 GB, free: 10.25 MB / 0.9825 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.00376/0.713, allocations: 4.605 MB / 1.232 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.7138, allocations: 0.5446 MB / 1.233 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.7141, allocations: 244.1 kB / 1.233 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.7143, allocations: 101.1 kB / 1.233 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7143, allocations: 42.55 kB / 1.233 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.7143, allocations: 0 / 1.233 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002728/0.7171, allocations: 1.595 MB / 1.235 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.7172, allocations: 114.8 kB / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.718, allocations: 0.7193 MB / 1.235 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7181, allocations: 33.7 kB / 1.235 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.7184, allocations: 411.8 kB / 1.236 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.7186, allocations: 165.7 kB / 1.236 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.7188, allocations: 114.2 kB / 1.236 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7189, allocations: 334 kB / 1.236 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.7192, allocations: 189.2 kB / 1.237 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.7197, allocations: 409 kB / 1.237 GB, free: 100 kB / 0.9825 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.002176/0.7219, allocations: 1.19 MB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7219, allocations: 0 / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009642/0.7229, allocations: 0.6756 MB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7229, allocations: 12.16 kB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.7229, allocations: 8 kB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.7229, allocations: 8 kB / 1.239 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.7234, allocations: 131.8 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.7234, allocations: 15.94 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.7239, allocations: 27.92 kB / 1.239 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.724, allocations: 28 kB / 1.239 GB, free: 13.89 MB / 0.9981 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.0002894/0.7242, allocations: 277.5 kB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.7244, allocations: 90.91 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.7245, allocations: 87.66 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.7246, allocations: 8 kB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7246, allocations: 0 / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006503/0.7252, allocations: 0.695 MB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.7273, allocations: 1.635 MB / 1.242 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7273, allocations: 4 kB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/0.7278, allocations: 103.8 kB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.7278, allocations: 8 kB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.7278, allocations: 12 kB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.7278, allocations: 7.984 kB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7278, allocations: 8.312 kB / 1.242 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.7288, allocations: 0.8652 MB / 1.243 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.729, allocations: 216 kB / 1.243 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.7291, allocations: 16 kB / 1.243 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.7296, allocations: 27.42 kB / 1.243 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.7296, allocations: 35.84 kB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.7297, allocations: 23.98 kB / 1.243 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005244/0.7302, allocations: 0.5068 MB / 1.244 GB, free: 9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7302, allocations: 0 / 1.244 GB, free: 9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006294/0.7308, allocations: 208 kB / 1.244 GB, free: 8.797 MB / 0.9981 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.001452/0.7323, allocations: 1.501 MB / 1.245 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.7331, allocations: 0.5114 MB / 1.246 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7331, allocations: 0 / 1.246 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.7333, allocations: 214.2 kB / 1.246 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.7353, allocations: 483.4 kB / 1.246 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3992/1.134, allocations: 6.91 MB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/1.135, allocations: 1.031 MB / 1.254 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007983/1.136, allocations: 196.3 kB / 1.254 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/1.136, allocations: 300.5 kB / 1.255 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.136, allocations: 0 / 1.255 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.497/6.633, allocations: 22.04 MB / 1.276 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/19.08, allocations: 17.42 kB / 1.276 GB, free: 226.2 MB / 0.9981 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