Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_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.001179/0.001179, 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.001172/0.001172, allocations: 197.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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.579/2.579, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 67.5 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1855/0.4373, allocations: 187.3 MB / 1.247 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4489/0.8863, allocations: 13.05 MB / 1.26 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.8872, allocations: 31.59 kB / 1.26 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.8882, allocations: 426.9 kB / 1.26 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.8905, allocations: 1.16 MB / 1.261 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.8922, allocations: 0.6958 MB / 1.262 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.8941, allocations: 2.015 MB / 1.264 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.895, allocations: 0.8446 MB / 1.265 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.8983, allocations: 1.802 MB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.8996, allocations: 0.6669 MB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.8997, allocations: 85.22 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.9012, allocations: 0.8656 MB / 1.268 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.9016, allocations: 387.3 kB / 1.268 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.902, allocations: 0.4966 MB / 1.269 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.9036, allocations: 1.476 MB / 1.27 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9036, allocations: 0 / 1.27 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9036, allocations: 0 / 1.27 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.9036, allocations: 4.125 kB / 1.27 GB, free: 4.5 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.001609/0.9052, allocations: 1.229 MB / 1.272 GB, free: 19.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.9052, allocations: 10.19 kB / 1.272 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.9054, allocations: 121.6 kB / 1.272 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9064, allocations: 224.6 kB / 1.272 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.9073, allocations: 0.6398 MB / 1.273 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.9073, allocations: 58.34 kB / 1.273 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.9075, allocations: 80.69 kB / 1.273 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.9087, allocations: 0.9343 MB / 1.274 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.9087, allocations: 8.5 kB / 1.274 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.9088, allocations: 31.34 kB / 1.274 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.9088, allocations: 27.8 kB / 1.274 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.9097, allocations: 0.6224 MB / 1.274 GB, free: 19.15 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.003976/0.9137, allocations: 4.595 MB / 1.279 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.9144, allocations: 0.5433 MB / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.9147, allocations: 246.7 kB / 1.28 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.9149, allocations: 105.7 kB / 1.28 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.915, allocations: 46.62 kB / 1.28 GB, free: 15.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.915, allocations: 1.812 kB / 1.28 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002642/0.9176, allocations: 1.585 MB / 1.281 GB, free: 15.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.9177, allocations: 108.2 kB / 1.281 GB, free: 14.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.9184, allocations: 0.7169 MB / 1.282 GB, free: 14.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.9185, allocations: 32.98 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.9187, allocations: 420.5 kB / 1.282 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.9188, allocations: 158.5 kB / 1.283 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.919, allocations: 122.3 kB / 1.283 GB, free: 14.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9191, allocations: 327.9 kB / 1.283 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.9194, allocations: 185.2 kB / 1.283 GB, free: 14.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.9197, allocations: 424 kB / 1.284 GB, free: 13.9 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.001939/0.9217, allocations: 1.19 MB / 1.285 GB, free: 13.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9217, allocations: 2.438 kB / 1.285 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008755/0.9226, allocations: 0.6681 MB / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9226, allocations: 7.844 kB / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9226, allocations: 8.078 kB / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.9226, allocations: 13.34 kB / 1.285 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.923, allocations: 129.9 kB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.923, allocations: 12.56 kB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.9236, allocations: 29.06 kB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.9236, allocations: 30.08 kB / 1.286 GB, free: 13.48 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.0003207/0.9239, allocations: 271.4 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.9241, allocations: 85.77 kB / 1.286 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.9242, allocations: 92.62 kB / 1.286 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.9242, allocations: 6.891 kB / 1.286 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.9243, allocations: 1.344 kB / 1.286 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006692/0.9249, allocations: 0.694 MB / 1.287 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.927, allocations: 1.64 MB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.927, allocations: 7 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.9275, allocations: 103.9 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.9275, allocations: 9.156 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.9275, allocations: 15.41 kB / 1.289 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.9275, allocations: 10.77 kB / 1.289 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.9275, allocations: 5.375 kB / 1.289 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.9284, allocations: 0.8626 MB / 1.289 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.9287, allocations: 209.5 kB / 1.29 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.9288, allocations: 17 kB / 1.29 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.9292, allocations: 18.34 kB / 1.29 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.9293, allocations: 38.81 kB / 1.29 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.9293, allocations: 23.81 kB / 1.29 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005416/0.9299, allocations: 0.5078 MB / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9299, allocations: 3.047 kB / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006646/0.9305, allocations: 200.4 kB / 1.29 GB, free: 11.71 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.001489/0.932, allocations: 1.52 MB / 1.292 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007734/0.9328, allocations: 0.5168 MB / 1.292 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9328, allocations: 2.531 kB / 1.292 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.9331, allocations: 208 kB / 1.293 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.935, allocations: 480.5 kB / 1.293 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.9423, allocations: 6.928 MB / 1.3 GB, free: 7.805 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.9429, allocations: 1.026 MB / 1.301 GB, free: 7.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007083/0.9436, allocations: 210.8 kB / 1.301 GB, free: 7.047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.944, allocations: 299 kB / 1.301 GB, free: 7.039 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.944, allocations: 1.062 kB / 1.301 GB, free: 7.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.985/2.929, allocations: 22.04 MB / 1.323 GB, free: 4.867 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/20.6, allocations: 12.11 kB / 1.323 GB, free: 4.859 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches