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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001284/0.001284, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 66.59 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.172/0.4507, allocations: 187.3 MB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5483/0.999, allocations: 13.05 MB / 1.249 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/1, allocations: 31.88 kB / 1.249 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/1.001, allocations: 426.9 kB / 1.249 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/1.004, allocations: 1.158 MB / 1.25 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/1.005, allocations: 0.6959 MB / 1.251 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001868/1.007, allocations: 2.021 MB / 1.253 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008398/1.008, allocations: 0.8385 MB / 1.254 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/1.011, allocations: 1.803 MB / 1.255 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/1.013, allocations: 0.6662 MB / 1.256 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/1.013, allocations: 82.34 kB / 1.256 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/1.014, allocations: 0.8678 MB / 1.257 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/1.015, allocations: 384.9 kB / 1.257 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000499/1.015, allocations: 0.5036 MB / 1.258 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/1.017, allocations: 1.466 MB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.017, allocations: 1.594 kB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.017, allocations: 0 / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.017, allocations: 1.203 kB / 1.259 GB, free: 2.445 MB / 0.9981 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.001629/1.019, allocations: 1.233 MB / 1.26 GB, free: 17.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/1.019, allocations: 10.7 kB / 1.26 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/1.019, allocations: 120 kB / 1.261 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.02, allocations: 212.8 kB / 1.261 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/1.021, allocations: 0.651 MB / 1.261 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/1.021, allocations: 57.66 kB / 1.261 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/1.021, allocations: 75.31 kB / 1.262 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.022, allocations: 0.9366 MB / 1.262 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.022, allocations: 4.938 kB / 1.262 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/1.022, allocations: 36.47 kB / 1.262 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/1.022, allocations: 29.12 kB / 1.262 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/1.023, allocations: 0.6194 MB / 1.263 GB, free: 17.11 MB / 1.014 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.003835/1.027, allocations: 4.602 MB / 1.268 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/1.027, allocations: 0.5412 MB / 1.268 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/1.028, allocations: 253.4 kB / 1.268 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.028, allocations: 106.2 kB / 1.268 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.028, allocations: 38.38 kB / 1.268 GB, free: 13.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/1.028, allocations: 1.531 kB / 1.268 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002644/1.031, allocations: 1.582 MB / 1.27 GB, free: 13.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/1.031, allocations: 117.2 kB / 1.27 GB, free: 12.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/1.032, allocations: 0.7148 MB / 1.271 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/1.032, allocations: 34.36 kB / 1.271 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.032, allocations: 421.2 kB / 1.271 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/1.032, allocations: 161 kB / 1.271 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/1.032, allocations: 120.2 kB / 1.272 GB, free: 12.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/1.032, allocations: 329.3 kB / 1.272 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/1.032, allocations: 188.1 kB / 1.272 GB, free: 12.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/1.033, allocations: 422.4 kB / 1.272 GB, free: 11.86 MB / 1.014 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.00217/1.035, allocations: 1.181 MB / 1.274 GB, free: 11.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.035, allocations: 2.844 kB / 1.274 GB, free: 11.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001154/1.036, allocations: 0.6698 MB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.036, allocations: 9.797 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.036, allocations: 6.844 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/1.036, allocations: 10.72 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/1.037, allocations: 128.5 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/1.037, allocations: 15.27 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/1.037, allocations: 28.3 kB / 1.274 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/1.037, allocations: 28.27 kB / 1.274 GB, free: 11.45 MB / 1.014 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.0003657/1.038, allocations: 274.1 kB / 1.275 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.038, allocations: 84.33 kB / 1.275 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.038, allocations: 89.41 kB / 1.275 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/1.038, allocations: 9.938 kB / 1.275 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.038, allocations: 2.234 kB / 1.275 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000614/1.039, allocations: 0.7002 MB / 1.276 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.041, allocations: 1.638 MB / 1.277 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.041, allocations: 3.562 kB / 1.277 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/1.041, allocations: 101.1 kB / 1.277 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/1.041, allocations: 5.656 kB / 1.277 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/1.041, allocations: 17.05 kB / 1.277 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.042, allocations: 14.8 kB / 1.277 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.042, allocations: 4.703 kB / 1.277 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/1.042, allocations: 0.8609 MB / 1.278 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/1.043, allocations: 209.9 kB / 1.278 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.043, allocations: 15.73 kB / 1.278 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/1.043, allocations: 19.12 kB / 1.278 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/1.043, allocations: 39.61 kB / 1.278 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/1.043, allocations: 20.92 kB / 1.278 GB, free: 9.785 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005588/1.044, allocations: 0.5145 MB / 1.279 GB, free: 9.691 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.044, allocations: 0 / 1.279 GB, free: 9.691 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006778/1.045, allocations: 197.9 kB / 1.279 GB, free: 9.691 MB / 1.014 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.001549/1.046, allocations: 1.524 MB / 1.281 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007752/1.047, allocations: 0.5105 MB / 1.281 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.047, allocations: 2.062 kB / 1.281 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/1.047, allocations: 212.3 kB / 1.281 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.049, allocations: 482.1 kB / 1.282 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008203/1.058, allocations: 6.915 MB / 1.289 GB, free: 5.871 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/1.058, allocations: 1.035 MB / 1.29 GB, free: 5.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007264/1.059, allocations: 202.2 kB / 1.29 GB, free: 5.117 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.059, allocations: 301.7 kB / 1.29 GB, free: 5.105 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.059, allocations: 0 / 1.29 GB, free: 5.105 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.487/6.546, allocations: 22.06 MB / 1.312 GB, free: 3.535 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/16.88, allocations: 14.5 kB / 1.312 GB, free: 3.527 MB / 1.014 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=50 --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