Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.005136/0.005136, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001427/0.001427, allocations: 193 kB / 16.68 MB, free: 5.934 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.503/2.503, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 64.94 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 162.3 MB / 1.242 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1865/0.4665, allocations: 187.3 MB / 1.425 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.4813, allocations: 13.08 MB / 1.438 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007916/0.4821, allocations: 35.81 kB / 1.438 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009884/0.4831, allocations: 429.1 kB / 1.438 GB, free: 15.24 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.4855, allocations: 1.147 MB / 1.439 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.4869, allocations: 0.7121 MB / 1.44 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.489, allocations: 2.004 MB / 1.442 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.49, allocations: 0.8472 MB / 1.443 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.4937, allocations: 1.934 MB / 1.445 GB, free: 8.551 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.4949, allocations: 0.6499 MB / 1.445 GB, free: 7.902 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.495, allocations: 84 kB / 1.445 GB, free: 7.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.4965, allocations: 0.8614 MB / 1.446 GB, free: 6.957 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.4968, allocations: 391 kB / 1.446 GB, free: 6.574 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.4973, allocations: 0.4938 MB / 1.447 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4991, allocations: 1.51 MB / 1.448 GB, free: 4.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.4991, allocations: 0 / 1.448 GB, free: 4.562 MB / 1.17 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4991, allocations: 0 / 1.448 GB, free: 4.562 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4991, allocations: 0 / 1.448 GB, free: 4.562 MB / 1.17 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.001569/0.5007, allocations: 1.261 MB / 1.45 GB, free: 3.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.5007, allocations: 12.03 kB / 1.45 GB, free: 3.238 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.5009, allocations: 130.5 kB / 1.45 GB, free: 3.102 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5019, allocations: 219.1 kB / 1.45 GB, free: 2.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/0.5029, allocations: 0.676 MB / 1.451 GB, free: 2.164 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.5029, allocations: 62 kB / 1.451 GB, free: 2.105 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.503, allocations: 80 kB / 1.451 GB, free: 2.027 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5043, allocations: 0.9326 MB / 1.452 GB, free: 1.008 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.5043, allocations: 7.938 kB / 1.452 GB, free: 1 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.5044, allocations: 35.94 kB / 1.452 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.5044, allocations: 29.31 kB / 1.452 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.5054, allocations: 0.6099 MB / 1.452 GB, free: 336 kB / 1.17 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.004039/0.5094, allocations: 4.673 MB / 1.457 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.5102, allocations: 0.544 MB / 1.457 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.5105, allocations: 248.7 kB / 1.458 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.5107, allocations: 97.09 kB / 1.458 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5107, allocations: 38.56 kB / 1.458 GB, free: 10.34 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 1.412e-06/0.5107, allocations: 0 / 1.458 GB, free: 10.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.002514/0.5132, allocations: 1.616 MB / 1.459 GB, free: 8.668 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.5133, allocations: 123 kB / 1.46 GB, free: 8.523 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.5141, allocations: 0.7116 MB / 1.46 GB, free: 7.801 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5141, allocations: 33.7 kB / 1.46 GB, free: 7.762 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.5144, allocations: 424.6 kB / 1.461 GB, free: 7.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5146, allocations: 174.5 kB / 1.461 GB, free: 7.168 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.5148, allocations: 114.3 kB / 1.461 GB, free: 7.051 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5149, allocations: 330 kB / 1.461 GB, free: 6.723 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5152, allocations: 185.2 kB / 1.461 GB, free: 6.543 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.5156, allocations: 425 kB / 1.462 GB, free: 6.031 MB / 1.186 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.00212/0.5178, allocations: 1.172 MB / 1.463 GB, free: 4.758 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5178, allocations: 4 kB / 1.463 GB, free: 4.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009463/0.5187, allocations: 0.672 MB / 1.464 GB, free: 4.074 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5188, allocations: 11.12 kB / 1.464 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5188, allocations: 7.938 kB / 1.464 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5188, allocations: 16 kB / 1.464 GB, free: 4.043 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.5192, allocations: 123.8 kB / 1.464 GB, free: 3.922 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.5192, allocations: 15.92 kB / 1.464 GB, free: 3.906 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.5197, allocations: 28.02 kB / 1.464 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.5198, allocations: 39.92 kB / 1.464 GB, free: 3.84 MB / 1.186 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.0003179/0.5201, allocations: 269.6 kB / 1.464 GB, free: 3.566 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5203, allocations: 91.5 kB / 1.464 GB, free: 3.477 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.5204, allocations: 87.67 kB / 1.464 GB, free: 3.387 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5204, allocations: 8 kB / 1.464 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5204, allocations: 0 / 1.464 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000709/0.5212, allocations: 0.7115 MB / 1.465 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.5233, allocations: 1.642 MB / 1.467 GB, free: 0.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.5234, allocations: 4 kB / 1.467 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.5238, allocations: 107.8 kB / 1.467 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5238, allocations: 4 kB / 1.467 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.5238, allocations: 16 kB / 1.467 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.5238, allocations: 8 kB / 1.467 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5239, allocations: 7.938 kB / 1.467 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5249, allocations: 0.8651 MB / 1.468 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.5252, allocations: 208.5 kB / 1.468 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.06e-05/0.5253, allocations: 19.98 kB / 1.468 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.5257, allocations: 20 kB / 1.468 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.5257, allocations: 39.83 kB / 1.468 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.5258, allocations: 20 kB / 1.468 GB, free: 15.44 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005753/0.5264, allocations: 0.5068 MB / 1.468 GB, free: 14.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5264, allocations: 0 / 1.468 GB, free: 14.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006034/0.527, allocations: 211.9 kB / 1.469 GB, free: 14.73 MB / 1.201 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.001605/0.5286, allocations: 1.5 MB / 1.47 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007091/0.5293, allocations: 489.2 kB / 1.471 GB, free: 12.69 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5293, allocations: 3.938 kB / 1.471 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.5296, allocations: 213.4 kB / 1.471 GB, free: 12.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.5315, allocations: 475 kB / 1.471 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007906/0.5394, allocations: 6.649 MB / 1.478 GB, free: 4.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.5401, allocations: 1.028 MB / 1.479 GB, free: 3.926 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005257/0.5406, allocations: 195 kB / 1.479 GB, free: 3.73 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.541, allocations: 295.3 kB / 1.479 GB, free: 3.441 MB / 1.201 GB Notification: Performance of SimCode: time 3.11e-07/0.541, allocations: 0 / 1.479 GB, free: 3.441 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.604/4.145, allocations: 22.24 MB / 1.501 GB, free: 13.62 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/22.72, allocations: 7.234 kB / 1.501 GB, free: 13.61 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches